This repository was archived by the owner on Aug 28, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +15
-7
lines changed
Expand file tree Collapse file tree 1 file changed +15
-7
lines changed Original file line number Diff line number Diff line change @@ -13,21 +13,29 @@ jobs:
1313
1414 runs-on : " ubuntu-latest"
1515
16+ strategy :
17+ fail-fast : true
18+ max-parallel : 15
19+ matrix :
20+ php-versions : ['7.4']
21+
1622 steps :
1723 - name : Checkout code
1824 uses : actions/checkout@v2
1925
2026 - name : Setup PHP
2127 uses : shivammathur/setup-php@v2
2228 with :
23- php-version : ' 7.4'
29+ php-version : ${{ matrix.php-versions }}
30+
31+ - name : Cache dependencies
32+ uses : actions/cache@v1
33+ with :
34+ path : ~/.composer/cache/files
35+ key : php-${{ matrix.php-versions }}-composer-${{ hashFiles('composer.json') }}
2436
2537 - name : Composer install
2638 run : composer install --prefer-dist --no-progress --no-suggest
27-
28- - name : Determine tag
29- id : determine-tag
30- run : echo "\"::set-output name=tag::${GITHUB_REF#refs/tags/}\""
3139
3240 - name : Build project
3341 run : php -d phar.readonly=false ./vendor/bin/box compile
4048 with :
4149 draft : false
4250 prerelease : false
43- release_name : ${{ steps.determine-tag.outputs.tag }}
44- tag_name : ${{ steps.determine-tag.outputs.tag }}
51+ release_name : ${{ github.ref }}
52+ tag_name : ${{ github.ref }}
4553
4654 - name : Upload Release Asset
4755 id : upload-release-asset
You can’t perform that action at this time.
0 commit comments