Skip to content

Commit 484cbda

Browse files
authored
Use the latest gpg importer action (#24)
Allow running the release manually
1 parent c34eb71 commit 484cbda

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/release.yml

+5-4
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ on:
1414
push:
1515
tags:
1616
- 'v*'
17+
workflow_dispatch:
1718
jobs:
1819
goreleaser:
1920
runs-on: ubuntu-latest
@@ -31,10 +32,10 @@ jobs:
3132
run: echo "::set-output name=api_version::$(go run . describe | jq -r '.api_version')"
3233
- name: Import GPG key
3334
id: import_gpg
34-
uses: hashicorp/ghaction-import-gpg@v2.1.0
35-
env:
36-
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
37-
PASSPHRASE: ${{ secrets.PASSPHRASE }}
35+
uses: crazy-max/ghaction-import-gpg@v5.0.0
36+
with:
37+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
38+
passphrase: ${{ secrets.GPG_PASSPHRASE }}
3839
- name: Run GoReleaser
3940
uses: goreleaser/goreleaser-action@v2
4041
with:

0 commit comments

Comments
 (0)