Skip to content

Commit 65d743c

Browse files
authored
Use github.event.release.tag_name explicitly during release workflow to upload artifacts (#960)
1 parent 1643d03 commit 65d743c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
- name: Attach Distribution to release
5151
env:
5252
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53-
run: gh release upload ${{ github.ref_name }} .artifacts/docs-lambda-index-publisher/release_linux-x64/bootstrap
53+
run: gh release upload ${{ github.event.release.tag_name }} .artifacts/docs-lambda-index-publisher/release_linux-x64/bootstrap
5454
shell: bash
5555

5656
release:
@@ -80,5 +80,5 @@ jobs:
8080
- name: Attach Distribution to release
8181
env:
8282
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
83-
run: gh release upload ${{ github.ref_name }} .artifacts/publish/docs-builder/release/*.zip
83+
run: gh release upload ${{ github.event.release.tag_name }} .artifacts/publish/docs-builder/release/*.zip
8484
shell: bash

0 commit comments

Comments
 (0)