Skip to content

Commit

Permalink
Fix: Use RELEASE_TOKEN in env
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijitxy committed Jun 17, 2024
1 parent a362c56 commit 7fc5797
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,14 @@ jobs:
- name: Create GitHub Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
with:
tag_name: ${{ github.ref }}
release_name: 'License Generator Release ${{ github.ref }}'
body: Initial release of license-generator for Linux.
draft: false
prerelease: false
token: ${{ secrets.RELEASE_TOKEN }}

- name: Upload Release Asset
uses: actions/upload-release-asset@v1
Expand All @@ -41,7 +42,9 @@ jobs:
asset_path: ./license-generator-linux
asset_name: license-generator-linux
asset_content_type: application/octet-stream
token: ${{ secrets.RELEASE_TOKEN }}
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}




Expand Down

0 comments on commit 7fc5797

Please sign in to comment.