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 52
52
run : |
53
53
./gradlew --no-daemon --stacktrace --max-workers=1 --info publish closeAndReleaseStagingRepository
54
54
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 }}
57
57
SDK_VERSION : ${{ env.VERSION }}
58
58
ORG_GRADLE_PROJECT_signingKeyId : ${{ secrets.GPG_KEY_ID }}
59
59
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") ?: (
30
30
nexusPublishing {
31
31
repositories {
32
32
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/" ))
33
35
username.set(System .getenv(" MAVEN_USERNAME" ))
34
36
password.set(System .getenv(" MAVEN_PASSWORD" ))
35
37
}
Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ configure<PublishingExtension> {
56
56
repositories {
57
57
maven {
58
58
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/" )
60
60
credentials {
61
61
username = System .getenv(" MAVEN_USERNAME" )
62
62
password = System .getenv(" MAVEN_PASSWORD" )
You can’t perform that action at this time.
0 commit comments