Skip to content

Commit e3c264d

Browse files
authored
Set the GITHUB_TOKEN env var for gh release upload. (#86)
1 parent 624195f commit e3c264d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/publish.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ jobs:
6767
echo "::set-output name=asset::$(echo *.tar.gz)"
6868
- name: Upload release asset
6969
run: gh release upload ${{ github.event.release.tag_name }} bin-package/${{ steps.build.outputs.asset }} --clobber
70+
env:
71+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7072

7173
publish-github-docker:
7274
runs-on: ubuntu-20.04
@@ -100,6 +102,8 @@ jobs:
100102
echo "::set-output name=asset::$(echo *.tar.gz)"
101103
- name: Upload release asset
102104
run: gh release upload ${{ github.event.release.tag_name }} bin-package/${{ steps.build.outputs.asset }} --clobber
105+
env:
106+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
103107

104108
publish-npm:
105109
needs:

0 commit comments

Comments
 (0)