Skip to content

Commit

Permalink
#153 add GPG passkey for signing artefacts
Browse files Browse the repository at this point in the history
  • Loading branch information
luigi-asprino authored Nov 23, 2023
1 parent 219b7ed commit 10ef72c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish_to_mvn-central.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

0 comments on commit 10ef72c

Please sign in to comment.