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 committed Oct 24, 2023
1 parent 4fdc7ea commit f42b008
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 f42b008

Please sign in to comment.