Skip to content

Commit 5d8b3af

Browse files
committed
Fix upload tag name
1 parent 1bf46e5 commit 5d8b3af

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/release.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -45,16 +45,16 @@ jobs:
4545
uses: svenstaro/upload-release-action@v1-release
4646
with:
4747
repo_token: ${{ secrets.GITHUB_TOKEN }}
48-
file: build/out/phpdraft-${{ github.ref }}.phar
49-
asset_name: phpdraft-${{ github.ref }}.phar
50-
tag: ${{ github.ref }}
48+
file: build/out/phpdraft-${{ github.event.release.tag_name }}.phar
49+
asset_name: phpdraft-${{ github.event.release.tag_name }}.phar
50+
tag: ${{ github.event.release.tag_name }}
5151
overwrite: false
5252

5353
- name: Upload library to release
5454
uses: svenstaro/upload-release-action@v1-release
5555
with:
5656
repo_token: ${{ secrets.GITHUB_TOKEN }}
57-
file: build/out/phpdraft-library-${{ github.ref }}.phar
58-
asset_name: phpdraft-library-${{ github.ref }}.phar
59-
tag: ${{ github.ref }}
57+
file: build/out/phpdraft-library-${{ github.event.release.tag_name }}.phar
58+
asset_name: phpdraft-library-${{ github.event.release.tag_name }}.phar
59+
tag: ${{ github.event.release.tag_name }}
6060
overwrite: false

0 commit comments

Comments
 (0)