Skip to content

Commit

Permalink
Merge pull request #318 from github/release_upload_auth
Browse files Browse the repository at this point in the history
Set GITHUB_TOKEN for uploading release assets
  • Loading branch information
jonabc authored Oct 4, 2020
2 parents 7f1e0ef + a9a9be9 commit 77e241b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ jobs:

- name: Publish linux package
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./licensed-${{github.event.release.tag_name}}-linux-x64.tar.gz
Expand All @@ -95,6 +97,8 @@ jobs:

- name: Publish mac package
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./licensed-${{github.event.release.tag_name}}-darwin-x64.tar.gz
Expand Down

0 comments on commit 77e241b

Please sign in to comment.