Skip to content

Commit

Permalink
Fix the GPG sign for release packages published to Sonatype/Maven Cen…
Browse files Browse the repository at this point in the history
…tral (#477)
  • Loading branch information
purbon committed Apr 6, 2022
1 parent 9acec6f commit 0d1aa81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release-artifacts-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,11 @@ jobs:
server-username: MAVEN_USERNAME
server-password: MAVEN_PASSWORD
- name: Publish package
run: mvn --batch-mode deploy
run: mvn verify -Dgpg.passphrase="$GPG_PASSPHRASE" --batch-mode deploy
env:
MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }}
MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Build the rpm
run: mvn rpm:rpm
- name: Sign rpm
Expand Down

0 comments on commit 0d1aa81

Please sign in to comment.