diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f6a3264da..9e96ed1aa 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -34,10 +34,10 @@ jobs: server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD gpg-private-key: ${{ secrets.SIGNING_KEY }} - gpg-passphrase: GPG_PASSWORD + gpg-passphrase: MAVEN_GPG_PASSPHRASE - name: Publish package env: MAVEN_USERNAME: ${{ secrets.OSS_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSS_PASSWORD }} - GPG_PASSWORD: ${{ secrets.SIGNING_PASSWORD }} + MAVEN_GPG_PASSPHRASE: ${{ secrets.SIGNING_PASSWORD }} run: mvn --no-transfer-progress --batch-mode deploy -P release-sign-artifacts diff --git a/pom.xml b/pom.xml index 2c72c42c8..212d22a3d 100644 --- a/pom.xml +++ b/pom.xml @@ -256,6 +256,7 @@ + --batch --pinentry-mode loopback @@ -270,7 +271,7 @@ nexus-releases ${nexusUrl} - true + false