File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -26,14 +26,14 @@ jobs:
2626 architecture : x64
2727 distribution : " adopt"
2828 server-id : ossrh # Value of the distributionManagement/repository/id field of the pom.xml
29- server-username : ${{ secrets.OSSRH_USERNAME }} # env variable for username in deploy
30- server-password : ${{ secrets.OSSRH_TOKEN }} # env variable for token in deploy
29+ server-username : MAVEN_USERNAME # env variable for username in deploy
30+ server-password : MAVEN_PASSWORD # env variable for token in deploy
3131 gpg-private-key : ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to import
3232 gpg-passphrase : MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
3333
3434 - name : Publish package to Maven Central
3535 run : |
36- mvn -Darguments=-Dgpg.passphrase=MAVEN_GPG_PASSPHRASE - -batch-mode deploy -Dmaven.test.skip=true
36+ mvn --batch-mode deploy -Dmaven.test.skip=true
3737 env :
3838 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
3939 MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
You can’t perform that action at this time.
0 commit comments