From e9fa763dfc306f8e8cb6377f2eb78b11f5e59b0d Mon Sep 17 00:00:00 2001 From: David Wahler Date: Mon, 18 Jul 2022 23:12:32 +0000 Subject: [PATCH 1/3] fix: Replace hashicorp/ghaction-import-gpg with upstream --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4c270379..7e4f43aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: - name: Import GPG key id: import_gpg - uses: hashicorp/ghaction-import-gpg@v2.1.0 + uses: crazy-max/ghaction-import-gpg@v5.0.0 env: # These secrets will need to be configured for the repository: GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} From 51e3c94fb668458d457db7d0e27d72626be3db88 Mon Sep 17 00:00:00 2001 From: David Wahler Date: Mon, 18 Jul 2022 23:16:55 +0000 Subject: [PATCH 2/3] use correct syntax for ghaction-import-gpg parameters --- .github/workflows/release.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7e4f43aa..33fd4063 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,10 +32,10 @@ jobs: - name: Import GPG key id: import_gpg uses: crazy-max/ghaction-import-gpg@v5.0.0 - env: + with: # These secrets will need to be configured for the repository: - GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }} - PASSPHRASE: ${{ secrets.PASSPHRASE }} + gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} + passphrase: ${{ secrets.PASSPHRASE }} - name: Run GoReleaser uses: goreleaser/goreleaser-action@v3.0.0 From 343b8780441d7a2b4b6b6c9a335c0d0926db7819 Mon Sep 17 00:00:00 2001 From: David Wahler Date: Mon, 18 Jul 2022 23:44:22 +0000 Subject: [PATCH 3/3] fix "gpg_private_key" parameter name --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 33fd4063..84bb1654 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,7 +34,7 @@ jobs: uses: crazy-max/ghaction-import-gpg@v5.0.0 with: # These secrets will need to be configured for the repository: - gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} + gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} passphrase: ${{ secrets.PASSPHRASE }} - name: Run GoReleaser