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 @@ -18,11 +18,15 @@ jobs:
1818 java-version : 23
1919 distribution : temurin
2020 server-id : central
21- server-username : " ${{ secrets.CENTRAL_TOKEN_USERNAME }} "
22- server-password : " ${{ secrets.CENTRAL_TOKEN_PASSWORD }} "
21+ server-username : MAVEN_USERNAME
22+ server-password : MAVEN_PASSWORD
2323 gpg-private-key : ${{ secrets.GPG_SIGNING_KEY }}
24- gpg-passphrase : " ${{ secrets.GPG_SIGNING_KEY_PASSWORD }} "
24+ gpg-passphrase : MAVEN_GPG_PASSPHRASE
2525 - name : Build with Maven
2626 run : mvn -B package --file pom.xml
2727 - name : Publish package
2828 run : mvn -P release --batch-mode deploy -DskipTests
29+ env :
30+ MAVEN_USERNAME : ${{ secrets.CENTRAL_TOKEN_USERNAME }}
31+ MAVEN_PASSWORD : ${{ secrets.CENTRAL_TOKEN_PASSWORD }}
32+ MAVEN_GPG_PASSPHRASE : ${{ secrets.GPG_SIGNING_KEY_PASSWORD }}
You can’t perform that action at this time.
0 commit comments