File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -23,17 +23,21 @@ jobs:
2323 with :
2424 gpg_private_key : ${{ secrets.GPG_PRIVATE_KEY }}
2525 passphrase : ${{ secrets.GPG_PASSPHRASE }}
26+ git_user_signingkey : true
2627
2728 - name : Build and Publish
2829 env :
2930 OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME_TOKEN }}
3031 OSSRH_PASSWORD : ${{ secrets.OSSRH_PASSWORD_TOKEN }}
32+ GPG_PASSPHRASE : ${{ secrets.GPG_PASSPHRASE }}
3133 run : |
3234 echo "Starting Maven build and deploy..."
3335 mvn clean deploy -P release \
3436 -Dmaven.javadoc.skip=false \
3537 -Dmaven.deploy.skip=false \
3638 -Dgpg.passphrase=${{ secrets.GPG_PASSPHRASE }} \
39+ -Dgpg.executable=gpg \
40+ -Dgpg.keyname=${{ secrets.GPG_KEYNAME }} \
3741 -Dmaven.test.failure.ignore=false
3842
3943 echo "Checking deployment status..."
You can’t perform that action at this time.
0 commit comments