We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b671c6d commit 0334da1Copy full SHA for 0334da1
.github/workflows/upload-asset-on-release.yml
@@ -27,6 +27,10 @@ jobs:
27
REPO: ${{ github.repository }}
28
run: echo "PACKAGE=${REPO##*/}" >> $GITHUB_OUTPUT
29
30
+ - name: Set Version
31
+ id: tag
32
+ run: echo "VERSION=${GITHUB_REF##*/}" >> $GITHUB_OUTPUT
33
+
34
- name: PHP version
35
run: php --version
36
@@ -93,6 +97,6 @@ jobs:
93
97
run: ls -lah
94
98
95
99
- name: Upload Release Asset
96
- run: gh release upload ${{ github.event.release.id }} ./${{ steps.package.outputs.PACKAGE }}.zip
100
+ run: gh release upload ${{ steps.tag.outputs.VERSION }} ./${{ steps.package.outputs.PACKAGE }}.zip
101
env:
102
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments