Skip to content

Commit 9aa7488

Browse files
authored
Switch to another GitHub action to upload the asset (#613)
1 parent 958e351 commit 9aa7488

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

.github/workflows/build.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,7 @@ jobs:
6666
path: .
6767

6868
- name: Upload php-scoper.phar
69-
uses: actions/upload-release-asset@v2
70-
env:
71-
GITHUB_TOKEN: ${{ secrets.PHP_SCOPER_GITHUB_TOKEN }}
69+
uses: softprops/action-gh-release@v1
7270
with:
73-
upload_url: ${{ github.event.release.upload_url }}
74-
asset_path: php-scoper.phar
75-
asset_name: php-scoper.phar
76-
asset_content_type: application/zip
71+
token: ${{ secrets.PHP_SCOPER_GITHUB_TOKEN }}
72+
files: php-scoper.phar

0 commit comments

Comments
 (0)