File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -39,10 +39,10 @@ jobs:
3939 distribution : temurin
4040 java-version : 11
4141 server-id : central
42- server-username : ${{ secrets.OSSRH_USER_TOKEN }}
43- server-password : ${{ secrets.OSSRH_PWD_TOKEN }}
42+ server-username : MAVEN_USERNAME
43+ server-password : MAVEN_PASSWORD
4444 gpg-private-key : ${{ secrets.GPG_SIGNING_KEY }}
45- gpg-passphrase : ${{ secrets.GPG_PWD }}
45+ gpg-passphrase : MAVEN_GPG_PASSPHRASE
4646
4747 - name : Package
4848 run : |
5252 if : github.ref_type == 'tag' && startsWith(github.ref_name, 'v')
5353 run : |
5454 mvn --no-transfer-progress --batch-mode deploy
55+ env :
56+ MAVEN_USERNAME : ${{ secrets.OSSRH_USER_TOKEN }}
57+ MAVEN_PASSWORD : ${{ secrets.OSSRH_PWD_TOKEN }}
58+ MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_PWD }}
5559
5660 - name : Cache Jars
5761 uses : actions/upload-artifact@v4
You can’t perform that action at this time.
0 commit comments