Skip to content

Commit 95a6b04

Browse files
committed
Update release workflow
1 parent b452d00 commit 95a6b04

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,24 +19,24 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v3
2323
- name: Unshallow
2424
run: git fetch --prune --unshallow
2525
- name: Set up Go
26-
uses: actions/setup-go@v2
26+
uses: actions/setup-go@v3
2727
with:
2828
go-version: 1.17
2929
- name: Describe plugin
3030
id: plugin_describe
3131
run: echo "::set-output name=api_version::$(go run . describe | jq -r '.api_version')"
3232
- name: Import GPG key
3333
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.GPG_PASSPHRASE }}
34+
uses: crazy-max/ghaction-import-gpg@v5
35+
with:
36+
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
37+
passphrase: ${{ secrets.GPG_PASSPHRASE }}
3838
- name: Run GoReleaser
39-
uses: goreleaser/goreleaser-action@v2
39+
uses: goreleaser/goreleaser-action@v3
4040
with:
4141
version: latest
4242
args: release --rm-dist

0 commit comments

Comments
 (0)