File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed
Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 2323 with :
2424 java-version : " 21"
2525 distribution : corretto
26+ server-id : central
27+ server-username : ${{ secrets.OSSRH_USERNAME }}
28+ server-password : ${{ secrets.OSSRH_TOKEN }}
29+ gpg-private-key : ${{ secrets.MAVEN_GPG_KEY }}
30+ gpg-passphrase : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
2631
2732 - name : Set version
2833 run : mvn versions:set -DnewVersion="${REF_NAME:1}"
3237 - name : Publish
3338 run : mvn --batch-mode deploy
3439 env :
35- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36- OSSRH_USERNAME : ${{ secrets.OSSRH_USERNAME }}
37- OSSRH_TOKEN : ${{ secrets.OSSRH_TOKEN }}
40+ MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
41+ MAVEN_CENTRAL_TOKEN : ${{ secrets.OSSRH_TOKEN }}
3842 MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
39- MAVEN_GPG_KEY : ${{ secrets.MAVEN_GPG_KEY }}
Original file line number Diff line number Diff line change 187187 <goals >
188188 <goal >sign</goal >
189189 </goals >
190- <configuration >
191- <signer >bc</signer >
192- </configuration >
193190 </execution >
194191 </executions >
195192 </plugin >
200197 <extensions >true</extensions >
201198 <configuration >
202199 <publishingServerId >central</publishingServerId >
200+ <autoPublish >true</autoPublish >
201+ <waitUntil >published</waitUntil >
203202 </configuration >
204203 </plugin >
205204 </plugins >
You can’t perform that action at this time.
0 commit comments