Skip to content

Commit

Permalink
chore: Export signing key in goreleaser-publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
benemohamed committed Aug 7, 2024
1 parent 95a3146 commit 4f47e68
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/goreleaser-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4

- name: Export signing key
run: 'echo "${{ secrets.PKG_SIGNING_KEY }}" | base64 --decode > /tmp/signing-key.gpg'

- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v4
with:
version: latest
args: release --clean
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BUILD_USER: ${{ github.actor }} (via Github Actions)

0 comments on commit 4f47e68

Please sign in to comment.