Skip to content

Commit

Permalink
CI: Use cmd to pass gpg params to maven (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
678098 authored Oct 26, 2023
1 parent bb887d5 commit d64bbdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
gpg-private-key: ${{ secrets.GPG_KEY }}
gpg-passphrase: GPG_KEY_PASSPHRASE
- name: 'Publish snapshot to OSSRH'
run: mvn --batch-mode -Possrh -DskipTests=true release:prepare release:perform
run: mvn --batch-mode -Possrh -DskipTests=true -Dgpg.keyname=${{ secrets.GPG_KEY_ID }} -Dgpg.passphrase=${{ secrets.GPG_KEY_PASSPHRASE }} release:prepare release:perform
env:
GPG_KEY_PASSPHRASE: ${{ secrets.GPG_KEY_PASSPHRASE }}
OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }}
Expand Down

0 comments on commit d64bbdf

Please sign in to comment.