File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -48,13 +48,13 @@ jobs:
4848 fi
4949 - name : " publish snapshot to sonatype snapshots"
5050 if : " ${{ env.STATUS != 'release' && github.event_name == 'push' && github.ref == 'refs/heads/trunk' }}"
51- run : ./gradlew publish
51+ run : ./gradlew publishAllPublicationsToSonatypeSnapshots
5252 env :
5353 ORG_GRADLE_PROJECT_sonatypeUsername : " ${{ secrets.SONATYPE_USERNAME }}"
5454 ORG_GRADLE_PROJECT_sonatypePassword : " ${{ secrets.SONATYPE_PASSWORD }}"
5555 - name : " publish (pre-)release to maven central"
5656 if : " ${{ env.STATUS == 'release' && github.event_name == 'release' }}"
57- run : ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
57+ run : ./gradlew publishReleaseCentralPortalBundle
5858 env :
5959 ORG_GRADLE_PROJECT_sonatypeUsername : " ${{ secrets.SONATYPE_USERNAME }}"
6060 ORG_GRADLE_PROJECT_sonatypePassword : " ${{ secrets.SONATYPE_PASSWORD }}"
You can’t perform that action at this time.
0 commit comments