diff --git a/.github/workflows/publish_to_mvn-central.yml b/.github/workflows/publish_to_mvn-central.yml index 031ca5f6..14ddbf36 100644 --- a/.github/workflows/publish_to_mvn-central.yml +++ b/.github/workflows/publish_to_mvn-central.yml @@ -16,7 +16,7 @@ jobs: server-username: MAVEN_USERNAME server-password: MAVEN_PASSWORD - name: Publish package - run: mvn --batch-mode deploy -Drevision=${{ github.ref_name }} -DperformRelease=true + run: mvn --batch-mode deploy -Drevision=${{ github.ref_name }} -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} -DperformRelease=true env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}