File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 sed -i -e 's|.*sonatypePassword.*| password = "${{ secrets.SPASSWORD }}"|' ./build.gradle
3737 - name : Sonatype Publish
3838 run : |
39- echo "myNexusUsername =${{ secrets.SUSER }}" >> ./gradle.properties
40- echo "myNexusPassword =${{ secrets.SPASSWORD }}" >> ./gradle.properties
39+ ORG_GRADLE_PROJECT_sonatypeUsername=$( echo "sonatypeUsername =${{ secrets.SUSER }}")
40+ ORG_GRADLE_PROJECT_sonatypePassword=$( echo "sonatypePassword =${{ secrets.SPASSWORD }}")
4141 ./gradlew publishToSonatype
4242# ./gradlew -S releaseSonatypeStagingRepository
4343# BEARER=$(printf "${{ secrets.SUSER }}:${{ secrets.SPASSWORD }}" | base64)
Original file line number Diff line number Diff line change @@ -186,12 +186,7 @@ nexusPublishing {
186186 repositories {
187187 // see https://central.sonatype.org/publish/publish-portal-ossrh-staging-api/#configuration
188188 sonatype {
189- // nexusUrl = uri("https://your-server.com/staging")
190189 nexusUrl. set(uri(" https://ossrh-staging-api.central.sonatype.com/service/local/" ))
191- // username = "${sonatypeUsername}" // defaults to project.properties["myNexusUsername"]
192- // password = "${sonatypePassword}" // defaults to project.properties["myNexusPassword"]
193- username = " ZxC3zG"
194- password = " O5zzMmghqUpz5ggAsob74s4qKDKvjE6zW"
195190 }
196191 }
197192}
You can’t perform that action at this time.
0 commit comments