From 349e2e7a58b5cf9e218fb9a29aa854e0cae0b9a2 Mon Sep 17 00:00:00 2001 From: Zahiar Ahmed <310030+zahiar@users.noreply.github.com> Date: Mon, 29 Aug 2022 03:08:07 +0100 Subject: [PATCH] Replace deprecated GPG action (#120) Hashicorp originally created a fork to support sign-only keys until the upstream one did, now that it does, their's has been deprecated. https://github.com/hashicorp/ghaction-import-gpg --- .github/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3b80e45..49328e9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,11 +16,11 @@ jobs: with: go-version: 1.19 - - uses: hashicorp/ghaction-import-gpg@v2.1.0 + - uses: crazy-max/ghaction-import-gpg@v5.1.0 id: import_gpg - env: - GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - PASSPHRASE: ${{ secrets.PASSPHRASE }} + with: + gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} + passphrase: ${{ secrets.PASSPHRASE }} - uses: goreleaser/goreleaser-action@v3 with: