File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 60
60
run : ./gradlew -Pversion=$REF_NAME setLibraryVersion -Dbuild.version="${{ steps.vars.outputs.tag }}" clean publishToSonatype closeAndReleaseSonatypeStagingRepository
61
61
env :
62
62
GITHUB_TAG : ${{ steps.vars.outputs.tag }}
63
- MAVEN_USERNAME : ${{ secrets.MAVEN_USERNAME }}
64
- MAVEN_PASSWORD : ${{ secrets.MAVEN_PASSWORD }}
63
+ SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
64
+ SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
65
65
- name : Slack notification
66
66
if : success() # only when previous step succeeds
67
67
env :
Original file line number Diff line number Diff line change 1
1
nexusPublishing {
2
2
repositories {
3
3
sonatype {
4
- username = System . getenv(" MAVEN_USERNAME" )
5
- password = System . getenv(" MAVEN_PASSWORD" )
4
+ nexusUrl. set(uri(" https://ossrh-staging-api.central.sonatype.com/service/local/" ))
5
+ snapshotRepositoryUrl. set(uri(" https://central.sonatype.com/repository/maven-snapshots/" ))
6
+ username = System . getenv(' SONATYPE_USERNAME' )
7
+ password = System . getenv(' SONATYPE_PASSWORD' )
6
8
}
7
9
}
8
- }
10
+ }
You can’t perform that action at this time.
0 commit comments