File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 5252 run : |
5353 ./gradlew --no-daemon --stacktrace --max-workers=1 --info publish closeAndReleaseStagingRepository
5454 env :
55- MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME_Y }}
56- MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN_Y }}
55+ MAVEN_USERNAME : ${{ secrets.OSSRH_USERNAME_H }}
56+ MAVEN_PASSWORD : ${{ secrets.OSSRH_TOKEN_H }}
5757 SDK_VERSION : ${{ env.VERSION }}
5858 ORG_GRADLE_PROJECT_signingKeyId : ${{ secrets.GPG_KEY_ID }}
5959 ORG_GRADLE_PROJECT_signingKey : ${{ secrets.GPG_PRIVATE_KEY }}
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ version = System.getenv("SDK_VERSION") ?: (
3030nexusPublishing {
3131 repositories {
3232 sonatype {
33+ nexusUrl.set(uri(" https://ossrh-staging-api.central.sonatype.com/service/local/" ))
34+ snapshotRepositoryUrl.set(uri(" https://central.sonatype.com/repository/maven-snapshots/" ))
3335 username.set(System .getenv(" MAVEN_USERNAME" ))
3436 password.set(System .getenv(" MAVEN_PASSWORD" ))
3537 }
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ configure<PublishingExtension> {
5656 repositories {
5757 maven {
5858 name = " OSSRH"
59- url = uri(" https://oss. sonatype.org /service/local/staging/deploy/maven2/" )
59+ url = uri(" https://ossrh-staging-api.central. sonatype.com /service/local/staging/deploy/maven2/" )
6060 credentials {
6161 username = System .getenv(" MAVEN_USERNAME" )
6262 password = System .getenv(" MAVEN_PASSWORD" )
You can’t perform that action at this time.
0 commit comments