Skip to content

Commit fb9b82d

Browse files
committed
Replace deprecated ghaction-import-gpg
1 parent 9c1db43 commit fb9b82d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,17 @@ jobs:
1919
with:
2020
go-version: 1.17
2121

22-
- uses: hashicorp/ghaction-import-gpg@v2.1.0
22+
- uses: crazy-max/ghaction-import-gpg@v5.3.0
2323
id: import_gpg
24-
env:
25-
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
26-
PASSPHRASE: ${{ secrets.PASSPHRASE }}
24+
with:
25+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
26+
passphrase: ${{ secrets.PASSPHRASE }}
2727

2828
- uses: goreleaser/goreleaser-action@v4
2929
with:
3030
distribution: goreleaser
3131
version: latest
32-
args: release --rm-dist
32+
args: release --clean
3333
env:
3434
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
3535
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)