Skip to content

Commit

Permalink
Add GH_TOKEN for gh cli [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
FeeeeK committed Jan 7, 2024
1 parent ffb79d0 commit 63013e2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,18 @@ jobs:
- name: Download artifacts
if: env.STOP_WORKFLOW == 'false'
run: |
gh run download --name DLL-Release --name Thunderstore-Release --dir ./publish
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh run download --name DLL-Release --name Thunderstore-Release --dir ./publish
- name: Create Release
if: env.STOP_WORKFLOW == 'false'
env:
GH_TOKEN: ${{ secrets.GH_PAT }}
run: >
gh release create ${{ env.VERSION }}
--title ${{ env.VERSION }}
--notes "Release ${{ env.VERSION }}"
--title "Release ${{ env.VERSION }}"
--draft
./publish/DLL-Release/LCAmmoCheck.dll
./publish/Thunderstore-Release/LCAmmoCheck-${{ env.VERSION }}.zip

0 comments on commit 63013e2

Please sign in to comment.