@@ -13,12 +13,12 @@ jobs:
13
13
upload_url : ${{ steps.step_upload_url.outputs.upload_url }}
14
14
steps :
15
15
- name : Checkout code
16
- uses : actions/checkout@v2
16
+ uses : actions/checkout@v3
17
17
18
18
- name : Setup PHP with extensions
19
19
uses : shivammathur/setup-php@v2
20
20
with :
21
- php-version : ' 8.0 '
21
+ php-version : ' 8.1 '
22
22
extensions : json
23
23
ini-values : memory_limit=-1
24
24
tools : composer
@@ -27,30 +27,16 @@ jobs:
27
27
run : composer install --prefer-dist --no-interaction --no-progress --ansi
28
28
29
29
- name : Download box.phar
30
- run : wget -O box.phar https://github.com/humbug/box/releases/download/3.13.0 /box.phar
30
+ run : wget -O box.phar https://github.com/humbug/box/releases/download/4.0.2 /box.phar
31
31
32
32
- name : Compile project
33
33
run : php ./box.phar compile
34
34
35
35
- name : Create Release
36
- id : create_release
37
- uses : actions/create-release@v1
38
- env :
39
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36
+ uses : softprops/action-gh-release@v1
40
37
with :
41
- tag_name : ${{ github.ref }}
42
- release_name : Release ${{ github.ref }}
38
+ name : Release ${{ github.ref }}
43
39
body : ' '
44
40
draft : false
45
41
prerelease : false
46
-
47
- - name : Upload Release Asset
48
- id : upload-release-asset
49
- uses : actions/upload-release-asset@v1
50
- env :
51
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
52
- with :
53
- upload_url : ${{ steps.create_release.outputs.upload_url }}
54
- asset_path : ./schema.phar
55
- asset_name : schema.phar
56
- asset_content_type : application/x-php
42
+ files : schema.phar
0 commit comments