From dc0ee1312325b06248c1527298605a86b90a865a Mon Sep 17 00:00:00 2001 From: Jonathan Wenger Date: Mon, 25 Mar 2024 11:15:09 -0700 Subject: [PATCH] Add passphrase to gpgp --- .github/workflows/Deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Deploy.yml b/.github/workflows/Deploy.yml index 281bbeb..ef5fdb1 100644 --- a/.github/workflows/Deploy.yml +++ b/.github/workflows/Deploy.yml @@ -32,7 +32,7 @@ jobs: run: mvn versions:set -DnewVersion=${{ env.VERSION }} - name: Install GPG secret key - run: echo "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | gpg --batch --import + run: echo "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | gpg --batch --passphrase "${{ secrets.OSSRH_GPG_PASSPHRASE }}" --import - name: Check Imported GPG Keys run: gpg --list-secret-keys --keyid-format LONG