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 6060 run : ./gradlew -Pversion=$REF_NAME setLibraryVersion -Dbuild.version="${{ steps.vars.outputs.tag }}" clean publishToSonatype closeAndReleaseSonatypeStagingRepository
6161 env :
6262 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 }}
6565 - name : Slack notification
6666 if : success() # only when previous step succeeds
6767 env :
Original file line number Diff line number Diff line change 11nexusPublishing {
22 repositories {
33 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' )
68 }
79 }
8- }
10+ }
You can’t perform that action at this time.
0 commit comments