Skip to content

Commit

Permalink
Update goreleaser-action to v5 and add permission for the workflow to…
Browse files Browse the repository at this point in the history
… attach binaries to GitHub Releases (#521)
  • Loading branch information
felladrin authored Oct 9, 2023
1 parent a107f61 commit c06ddba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ on:
push:
tags:
- "v*"
permissions:
contents: write
jobs:
goreleaser:
runs-on: ubuntu-latest
Expand All @@ -33,7 +35,7 @@ jobs:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
uses: goreleaser/goreleaser-action@v5
with:
version: latest
args: release --rm-dist
Expand Down

0 comments on commit c06ddba

Please sign in to comment.