Skip to content

Commit 78a5cd8

Browse files
committed
ci: Bump ghaction-import-gpg -> v3
1 parent 6ef0baf commit 78a5cd8

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.github/workflows/release.yml

+5-16
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,4 @@
1-
# This GitHub action can publish assets for release when a tag is created.
2-
# Currently its setup to run on any tag that matches the pattern "v*" (ie. v0.1.0).
3-
#
4-
# This uses an action (paultyng/ghaction-import-gpg) that assumes you set your
5-
# private key in the `GPG_PRIVATE_KEY` secret and passphrase in the `PASSPHRASE`
6-
# secret. If you would rather own your own GPG handling, please fork this action
7-
# or use an alternative one for key handling.
8-
#
9-
# You will need to pass the `--batch` flag to `gpg` in your signing step
10-
# in `goreleaser` to indicate this is being used in a non-interactive mode.
11-
#
12-
name: release
1+
name: Release
132

143
on:
154
push:
@@ -33,10 +22,10 @@ jobs:
3322

3423
- name: Import GPG key
3524
id: import_gpg
36-
uses: paultyng/ghaction-import-gpg@v2.1.0
37-
env:
38-
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
39-
PASSPHRASE: ${{ secrets.PASSPHRASE }}
25+
uses: crazy-max/ghaction-import-gpg@v3
26+
with:
27+
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
28+
passphrase: ${{ secrets.PASSPHRASE }}
4029

4130
- name: Run GoReleaser
4231
uses: goreleaser/goreleaser-action@v2

0 commit comments

Comments
 (0)