File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 2020 server-id : ossrh
2121 server-username : MAVEN_USERNAME
2222 server-password : MAVEN_PASSWORD
23- - name : Publish package
23+ - name : Stage package
2424 run : xvfb-run --auto-servernum mvn -B -Dgpg.passphrase=${{ secrets.OSSRH_GPG_SECRET_KEY_PASSWORD }} clean deploy -P release
2525 env :
2626 DISPLAY : " :99.0"
2727 MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME }}
2828 MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN }}
29+ - name : Publish Package
30+ uses : fjogeleit/http-request-action@v2
31+ with :
32+ url : ' https://central.sonatype.com/publishing/namespaces/manual/upload/defaultRepository/org.openlcb'
33+ method : ' POST'
34+ username : ${{ secrets.OSSRH_USERNAME }}
35+ password : ${{ secrets.OSSRH_TOKEN }}
36+
Original file line number Diff line number Diff line change 3131 <distributionManagement >
3232 <snapshotRepository >
3333 <id >ossrh</id >
34- <url >https://oss. sonatype.org /content/repositories/snapshots</url >
34+ <url >https://ossrh-staging-api.central. sonatype.com /content/repositories/snapshots</url >
3535 </snapshotRepository >
3636 <repository >
3737 <id >ossrh</id >
38- <url >https://oss. sonatype.org /service/local/staging/deploy/maven2/</url >
38+ <url >https://ossrh-staging-api.central. sonatype.com /service/local/staging/deploy/maven2/</url >
3939 </repository >
4040 </distributionManagement >
4141 <organization >
You can’t perform that action at this time.
0 commit comments