File tree Expand file tree Collapse file tree 3 files changed +8
-6
lines changed
Expand file tree Collapse file tree 3 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 4949 - name : Release
5050 run : ./gradlew --build-cache publishToSonatype
5151 env :
52- CTP_OSS_USER : ${{ secrets.OSS_USER }}
53- CTP_OSS_SECRET : ${{ secrets.OSS_SECRET }}
52+ SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
53+ SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
5454
5555 - run : rm -rf ~/.gradle/gradle.properties
Original file line number Diff line number Diff line change 3939 - run : ./gradlew -Pversion=$REF_NAME clean test javadoc publishToSonatype closeAndReleaseSonatypeStagingRepository
4040 env :
4141 REF_NAME : ${{ github.ref_name }}
42- CTP_OSS_USER : ${{ secrets.OSS_USER }}
43- CTP_OSS_SECRET : ${{ secrets.OSS_SECRET }}
42+ SONATYPE_USERNAME : ${{ secrets.SONATYPE_USERNAME }}
43+ SONATYPE_PASSWORD : ${{ secrets.SONATYPE_PASSWORD }}
4444 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4545 GITHUB_ACTOR : ${{ secrets.GITHUB_ACTOR }}
4646
Original file line number Diff line number Diff line change @@ -21,8 +21,10 @@ def excludeProjects = [
2121nexusPublishing {
2222 repositories {
2323 sonatype {
24- username = System . getenv(' CTP_OSS_USER' )
25- password = System . getenv(' CTP_OSS_SECRET' )
24+ nexusUrl. set(uri(" https://ossrh-staging-api.central.sonatype.com/service/local/" ))
25+ snapshotRepositoryUrl. set(uri(" https://central.sonatype.com/repository/maven-snapshots/" ))
26+ username = System . getenv(' SONATYPE_USERNAME' )
27+ password = System . getenv(' SONATYPE_PASSWORD' )
2628 }
2729 }
2830}
You can’t perform that action at this time.
0 commit comments