From d31c5ae9520c41bb43746351cfd0435be8e4454e Mon Sep 17 00:00:00 2001 From: Niels Bertram Date: Tue, 17 Oct 2023 11:45:19 +1000 Subject: [PATCH] add gpg passphrase --- .github/workflows/maven-release.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/maven-release.yaml b/.github/workflows/maven-release.yaml index ba1739f..8d9c11b 100644 --- a/.github/workflows/maven-release.yaml +++ b/.github/workflows/maven-release.yaml @@ -38,10 +38,11 @@ jobs: server-id: ossrh server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD + gpg-passphrase: MAVEN_GPG_PASSPHRASE - run: cat ~/.m2/settings.xml - name: Publish Package run: mvn --batch-mode --no-transfer-progress clean deploy env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }} - GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }} + MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}