Skip to content

Commit

Permalink
ci: add GH_TOKEN to some ci steps (#2548)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyokone authored Nov 21, 2024
1 parent 923d791 commit 4c1deff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ jobs:

- name: Release snapshot
if: ${{ env.RELEASE_TAG == 'flank-snapshot' }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: flankScripts github make_release --input-file=./test_runner/build/libs/flank.jar --git-tag=$RELEASE_TAG --commit-hash=$GITHUB_SHA --snapshot

- name: Release stable
Expand All @@ -91,7 +93,7 @@ jobs:

- name: Append checksum to release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
sha256sum ./test_runner/build/libs/flank.jar > flank.sha256
gh release upload $RELEASE_TAG flank.sha256
Expand Down

0 comments on commit 4c1deff

Please sign in to comment.