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

(cherry picked from commit d4b2e38)
  • Loading branch information
felladrin committed Sep 22, 2023
1 parent 35ab0f1 commit 2185c6c
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 2185c6c

Please sign in to comment.