File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,21 +19,13 @@ jobs:
1919 distribution : ' corretto'
2020 java-version : ${{ matrix.java }}
2121 check-latest : true
22- - name : Build and Upload to the Maven Central Repository
23- run : ./gradlew publishAllPublicationsToMavenCentralRepository
22+ - name : Build and Publish to the Maven Central Repository
23+ run : ./gradlew publishAndReleaseToMavenCentral
2424 env :
2525 ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.SONATYPE_USER }}
2626 ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.SONATYPE_PASS }}
2727 ORG_GRADLE_PROJECT_signingInMemoryKey : ${{ secrets.SIGNING_PRIVATE_KEY }}
2828 ORG_GRADLE_PROJECT_signingInMemoryKeyPassword : ${{ secrets.SIGNING_PASSWORD }}
2929 REMOTE_CACHE_URL : ${{ secrets.REMOTE_CACHE_URL }}
3030 REMOTE_CACHE_USER : ${{ secrets.REMOTE_CACHE_USER }}
31- REMOTE_CACHE_PASS : ${{ secrets.REMOTE_CACHE_PASS }}
32- - name : Publish Release on Maven Central
33- run : ./gradlew closeAndReleaseRepository --no-daemon --no-parallel
34- env :
35- ORG_GRADLE_PROJECT_mavenCentralUsername : ${{ secrets.SONATYPE_USER }}
36- ORG_GRADLE_PROJECT_mavenCentralPassword : ${{ secrets.SONATYPE_PASS }}
37- REMOTE_CACHE_URL : ${{ secrets.REMOTE_CACHE_URL }}
38- REMOTE_CACHE_USER : ${{ secrets.REMOTE_CACHE_USER }}
3931 REMOTE_CACHE_PASS : ${{ secrets.REMOTE_CACHE_PASS }}
You can’t perform that action at this time.
0 commit comments