This repository was archived by the owner on Mar 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Expand file tree Collapse file tree 1 file changed +10
-14
lines changed Original file line number Diff line number Diff line change @@ -24,25 +24,21 @@ jobs:
24
24
echo "tag=${GITHUB_REF##*v}" >> "$GITHUB_OUTPUT"
25
25
- name : Checkout the code
26
26
uses : actions/checkout@v3
27
- # with:
28
- # ref: v${{ steps.tag.outputs.tag }}
27
+ with :
28
+ ref : v${{ steps.tag.outputs.tag }}
29
29
- name : Setup PHP
30
30
uses : shivammathur/setup-php@v2
31
31
with :
32
32
php-version : 8.1
33
33
tools : humbug/box
34
34
coverage : none
35
- - name : Install the dependencies
36
- run : COMPOSER=composer-dev.json composer install --no-dev --prefer-dist --no-progress
35
+ - name : Overwrite Composer for build
36
+ run : mv composer-dev.json composer.json
37
+ - name : Install Composer dependencies
38
+ run : composer install --no-dev --prefer-dist --no-progress
37
39
- name : Create the PHAR file.
38
40
run : box compile --no-parallel
39
- - name : Upload the PHAR artifact
40
- uses : actions/upload-artifact@v3
41
- with :
42
- name : shift-cli.phar
43
- path : builds/shift-cli
44
-
45
- # - name: Upload the PHAR to release
46
- # run: gh release upload v${{ steps.tag.outputs.tag }} builds/pint.phar
47
- # env:
48
- # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41
+ - name : Upload the PHAR to release
42
+ run : gh release upload v${{ steps.tag.outputs.tag }} builds/shift-cli
43
+ env :
44
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments