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] 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 }}