Skip to content

Commit 87135a9

Browse files
authored
Use upstream ghaction-import-gpg to fix release workflow (#32)
* fix: Replace hashicorp/ghaction-import-gpg with upstream * use correct syntax for ghaction-import-gpg parameters * fix "gpg_private_key" parameter name
1 parent b6aa7b5 commit 87135a9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: .github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ jobs:
3131

3232
- name: Import GPG key
3333
id: import_gpg
34-
uses: hashicorp/ghaction-import-gpg@v2.1.0
35-
env:
34+
uses: crazy-max/ghaction-import-gpg@v5.0.0
35+
with:
3636
# These secrets will need to be configured for the repository:
37-
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
38-
PASSPHRASE: ${{ secrets.PASSPHRASE }}
37+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
38+
passphrase: ${{ secrets.PASSPHRASE }}
3939

4040
- name: Run GoReleaser
4141
uses: goreleaser/[email protected]

0 commit comments

Comments
 (0)