File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed
Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change 2222 with :
2323 go-version-file : ' go.mod'
2424
25+ - name : Import GPG key
26+ id : import_gpg
27+ uses : crazy-max/ghaction-import-gpg@v6
28+ with :
29+ gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY_FILE }}
30+ passphrase : ${{ secrets.GPG_PASSPHRASE }}
31+
2532 - name : Run GoReleaser
2633 uses : goreleaser/goreleaser-action@v6
2734 with :
4451 MACOS_NOTARY_KEY_ID : ${{ secrets.MACOS_NOTARY_KEY_ID }}
4552 MACOS_NOTARY_KEY : ${{ secrets.MACOS_NOTARY_KEY }}
4653 # GPG signing for Linux packages and checksums
47- GPG_FINGERPRINT : ${{ secrets.GPG_FINGERPRINT }}
54+ GPG_FINGERPRINT : ${{ steps.import_gpg.outputs.fingerprint }}
4855 GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
4956 GPG_PRIVATE_KEY_FILE : ${{ secrets.GPG_PRIVATE_KEY_FILE }}
5057 NFPM_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
You can’t perform that action at this time.
0 commit comments