Skip to content

Commit

Permalink
Add GITHUB_TOKEN environment variable for release asset uploads
Browse files Browse the repository at this point in the history
  • Loading branch information
emcrisostomo committed Dec 30, 2024
1 parent e238381 commit dafcc19
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release-tarball.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,15 @@ jobs:
asset_path: ./fswatch-${{ github.event.release.tag_name }}.tar.gz
asset_name: fswatch-${{ github.event.release.tag_name }}.tar.gz
asset_content_type: application/gzip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload Release PDF documentation
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ github.event.release.upload_url }}
asset_path: ./fswatch/doc/fswatch.pdf
asset_name: fswatch-${{ github.event.release.tag_name }}.pdf
asset_content_type: application/gzip
asset_content_type: application/gzip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit dafcc19

Please sign in to comment.