From a1e27f408c51294b873ae2344af38a9969fdf097 Mon Sep 17 00:00:00 2001 From: "Easy Logging Facade for Java (ELF4J)" <115573193+elf4j@users.noreply.github.com> Date: Thu, 16 Mar 2023 15:23:34 -0500 Subject: [PATCH 1/3] Update maven-publish.yml --- .github/workflows/maven-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 3c63f61..0d217d5 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -21,7 +21,7 @@ jobs: gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }} # gpg-passphrase: "" - name: Publish to OSSRH for Maven Central - run: mvn --batch-mode deploy -Dgpg.passphrase="" -Prelease + run: mvn --batch-mode deploy -Prelease -Darguments=-Dgpg.passphrase="" env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} From 4f231a774a3045ccb3f1d95b5b045215e1f8db60 Mon Sep 17 00:00:00 2001 From: "Easy Logging Facade for Java (ELF4J)" <115573193+elf4j@users.noreply.github.com> Date: Thu, 16 Mar 2023 15:26:16 -0500 Subject: [PATCH 2/3] Update maven-publish.yml --- .github/workflows/maven-publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 0d217d5..17d5a11 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -21,7 +21,7 @@ jobs: gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }} # gpg-passphrase: "" - name: Publish to OSSRH for Maven Central - run: mvn --batch-mode deploy -Prelease -Darguments=-Dgpg.passphrase="" + run: mvn --batch-mode deploy -Prelease -Dgpg.passphrase= env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} From fb0808328523c1f3a6966cc4d6532aedaac27ca1 Mon Sep 17 00:00:00 2001 From: "Easy Logging Facade for Java (ELF4J)" <115573193+elf4j@users.noreply.github.com> Date: Thu, 16 Mar 2023 15:53:09 -0500 Subject: [PATCH 3/3] Update maven-publish.yml --- .github/workflows/maven-publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 17d5a11..b5f57dd 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -19,10 +19,10 @@ jobs: server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD gpg-private-key: ${{ secrets.OSSRH_GPG_SECRET_KEY }} -# gpg-passphrase: "" + gpg-passphrase: MAVEN_GPG_PASSPHRASE - name: Publish to OSSRH for Maven Central run: mvn --batch-mode deploy -Prelease -Dgpg.passphrase= env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_PASSWORD }} -# MAVEN_GPG_PASSPHRASE: "" + MAVEN_GPG_PASSPHRASE: ${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }}