Skip to content

Commit

Permalink
Update GitHub Actions workflow to use GH_TOKEN and ref_name for relea…
Browse files Browse the repository at this point in the history
…se creation
  • Loading branch information
arvvoid committed Dec 4, 2024
1 parent 895b015 commit 7f3f170
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@ jobs:
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
tag_name: ${{ github.ref_name }}
release_name: ${{ github.ref_name }}
body: |
## Changes
- Description of changes in this release.
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
- name: Upload Release Assets
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./build/a500kybhid.ino.hex
Expand Down

0 comments on commit 7f3f170

Please sign in to comment.