Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
anhductn2001 committed Apr 17, 2024
1 parent 0c89b55 commit a726694
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/release_binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
release:
types: [created]

permissions:
contents: read
packages: write
permissions: write-all

# This workflow creates a release using goreleaser
# via the 'make release' command.
Expand All @@ -29,8 +27,8 @@
run: make release-dry-run
- name: setup release environment
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_PAT }}
run: |-
echo 'GITHUB_TOKEN=${{secrets.GITHUB_TOKEN}}' > .release-env
echo 'GITHUB_TOKEN=${{ secrets.GH_PAT }}' > .release-env
- name: release publish
run: make release

0 comments on commit a726694

Please sign in to comment.