File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 server-id : central
1616 server-username : MAVEN_USERNAME
1717 server-password : MAVEN_PASSWORD
18- gpg-private-key : ${{ secrets.OSSRH_GPG_SECRET_KEY }}
18+ - id : install-secret-key
19+ name : Install gpg secret key
20+ run : |
21+ cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
22+ gpg --list-secret-keys --keyid-format LONG
1923 - name : Publish package
2024 run : mvn --batch-mode clean deploy
2125 env :
Original file line number Diff line number Diff line change 201201 <distributionManagement >
202202 <snapshotRepository >
203203 <id >ossrh</id >
204- <url >https://s01.oss. sonatype.org/content/repositories/ snapshots</url >
204+ <url >https://central. sonatype.com/repository/maven- snapshots/ </url >
205205 </snapshotRepository >
206206 <repository >
207207 <id >ossrh</id >
208- <url >https://s01.oss .sonatype.org /service/local/staging/deploy/maven2/</url >
208+ <url >https://ossrh-staging-api.central .sonatype.com /service/local/staging/deploy/maven2/</url >
209209 </repository >
210210 </distributionManagement >
211211</project >
You can’t perform that action at this time.
0 commit comments