Skip to content

Commit

Permalink
ci: update GitHub token secret name
Browse files Browse the repository at this point in the history
Update the GitHub token secret name from GITHUB_TOKEN to RTOKEN in the GitHub Actions workflow for creating and uploading releases. This change ensures that the correct token is used for authentication during the release process.
  • Loading branch information
wellcomez committed Oct 31, 2024
1 parent 7245709 commit e35e1f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.RTOKEN }}
with:
tag_name: ${{ github.ref_name }}
release_name: Release ${{ github.ref_name }}
Expand All @@ -78,7 +78,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.RTOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./${{ matrix.output }}
Expand Down

0 comments on commit e35e1f8

Please sign in to comment.