Skip to content

Commit f683593

Browse files
Julien LevasseurJulien Levasseur
authored andcommitted
Bring back GPG_FINGERPRINT for release publication
1 parent 95be810 commit f683593

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

.github/workflows/release.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,19 @@ jobs:
2323
with:
2424
go-version: '>=1.20.1'
2525
cache: true
26-
- uses: goreleaser/goreleaser-action@v4
26+
-
27+
name: Import GPG key
28+
id: import_gpg
29+
uses: crazy-max/ghaction-import-gpg@v4
30+
with:
31+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
32+
passphrase: ${{ secrets.PASSPHRASE }}
33+
-
34+
name: Run GoReleaser
35+
uses: goreleaser/goreleaser-action@v4
2736
with:
28-
distribution: goreleaser
2937
version: latest
3038
args: release --clean
3139
env:
32-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}

0 commit comments

Comments
 (0)