Skip to content

Commit

Permalink
Import public GPG key
Browse files Browse the repository at this point in the history
  • Loading branch information
edimarlnx committed Dec 21, 2023
1 parent e5e678a commit 029f6ce
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,15 @@ jobs:
uses: actions/setup-go@v2
with:
go-version: 1.21
-
name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v4
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
- name: Import GPG key
run: gpg --receive-keys $GPG_PUB_KEY
-
name: Run GoReleaser
uses: goreleaser/[email protected]
with:
version: latest
args: release --rm-dist
env:
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
GPG_FINGERPRINT: ${{ secrets.GPG_PUB_KEY }}
# GitHub sets this automatically
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 029f6ce

Please sign in to comment.