From 95ab44aa27272c10fcec068b1620a2d9d9464d78 Mon Sep 17 00:00:00 2001 From: Sina Madani Date: Thu, 30 May 2024 17:53:30 +0100 Subject: [PATCH] ci: Attempt fix GPG error --- .github/workflows/publish.yml | 4 ++-- pom.xml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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