File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,18 @@ jobs:
2323 - name : Set up Maven Central Repository
2424 uses : actions/setup-java@v4
2525 with :
26- java-version : ' 11 '
26+ java-version : ' 17 '
2727 distribution : ' temurin'
28- server-id : ossrh
28+ server-id : ossrh # Value of the distributionManagement/repository/id field of the pom.xml
2929 server-username : MAVEN_USERNAME
3030 server-password : MAVEN_PASSWORD
31+ # TODO:
32+ # gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }} # has to be read directly from secrets
33+ # gpg-passphrase: MAVEN_GPG_PASSPHRASE # default name used by maven-gpg-plugin
3134 - name : Publish package
3235# run: mvn --batch-mode deploy
3336 run : mvn -V --errors --show-version --batch-mode --no-transfer-progress -Ddoclint=all deploy
3437 env :
3538 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
3639 MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
37-
40+ # MAVEN_GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
You can’t perform that action at this time.
0 commit comments