From 727055c9ef196fad112df5eef4f7b558c422af1d Mon Sep 17 00:00:00 2001 From: Jonathan Wenger Date: Mon, 25 Mar 2024 09:32:41 -0700 Subject: [PATCH] Fix for gpg signing. --- .github/workflows/Deploy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/Deploy.yml b/.github/workflows/Deploy.yml index d0b7f9f..ed24eb7 100644 --- a/.github/workflows/Deploy.yml +++ b/.github/workflows/Deploy.yml @@ -53,6 +53,9 @@ jobs: commit-msg: Commit Pom updated version github-token: ${{ secrets.GITHUB_TOKEN }} + - name: Directly invoke GPG signing + run: mvn gpg:sign -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} + - name: Publish to Maven Central run: | mvn --no-transfer-progress --batch-mode deploy -X \