Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
d2da0851
Commit
d2da0851
authored
2 years ago
by
Tim van Dijen
Browse files
Options
Downloads
Patches
Plain Diff
Fix workflows
parent
c573ddd6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/build-release.yml
+12
-6
12 additions, 6 deletions
.github/workflows/build-release.yml
.github/workflows/php.yml
+6
-0
6 additions, 0 deletions
.github/workflows/php.yml
with
18 additions
and
6 deletions
.github/workflows/build-release.yml
+
12
−
6
View file @
d2da0851
...
...
@@ -24,13 +24,19 @@ jobs:
-
name
:
Setup problem matchers for PHP
run
:
echo "::add-matcher::${{ runner.tool_cache }}/php.json"
# Store the version, stripping any v-prefix
-
name
:
Write release version
run
:
|
TAG=${{ github.ref_name }}
echo "VERSION=${TAG#v}" >> $GITHUB_ENV
-
uses
:
actions/checkout@v3
-
name
:
Validate composer.json and composer.lock
run
:
composer validate
-
name
:
Set version in composer.json
run
:
composer config version "$
{{ github.ref_name }}
"
run
:
composer config version "$
VERSION
"
-
name
:
Install Composer dependencies
run
:
composer install --no-progress --no-dev --prefer-dist --optimize-autoloader
...
...
@@ -46,16 +52,16 @@ jobs:
-
name
:
Build tarball
run
:
|
cd ..
cp -R simplesamlphp "simplesamlphp-$
{{ github.ref_name }}
"
tar --owner 0 --group 0 -cvzf "/tmp/simplesamlphp-$
{{ github.ref_name }}
.tar.gz" \
"simplesamlphp-$
{{ github.ref_name }}
"
cp -R simplesamlphp "simplesamlphp-$
VERSION
"
tar --owner 0 --group 0 -cvzf "/tmp/simplesamlphp-$
VERSION
.tar.gz" \
"simplesamlphp-$
VERSION
"
-
name
:
Save tarball
uses
:
actions/upload-artifact@v3
with
:
name
:
release
path
:
"
/tmp/simplesamlphp-$
{{
github.ref_name
}}
.tar.gz"
path
:
"
/tmp/simplesamlphp-$
VERSION
.tar.gz"
retention-days
:
1
-
name
:
Calculate SHA checksum
run
:
sha256sum "/tmp/simplesamlphp-$
{{ github.ref_name }}
.tar.gz"
run
:
sha256sum "/tmp/simplesamlphp-$
VERSION
.tar.gz"
This diff is collapsed.
Click to expand it.
.github/workflows/php.yml
+
6
−
0
View file @
d2da0851
...
...
@@ -53,6 +53,9 @@ jobs:
-
uses
:
actions/checkout@v3
-
name
:
Get composer cache directory
run
:
echo COMPOSER_CACHE="$(composer config cache-files-dir)" >> "$GITHUB_ENV"
-
name
:
Cache composer dependencies
uses
:
actions/cache@v3
with
:
...
...
@@ -111,6 +114,9 @@ jobs:
-
uses
:
actions/checkout@v3
-
name
:
Get composer cache directory
run
:
echo COMPOSER_CACHE="$(composer config cache-files-dir)" >> "$GITHUB_ENV"
-
name
:
Cache composer dependencies
uses
:
actions/cache@v3
with
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment