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 @@ -30,13 +30,13 @@ jobs:
3030 fi
3131 - name : Publish Snapshot
3232 if : " ${{ env.STATUS != 'release' && github.event_name == 'push' && github.ref == 'refs/heads/master' }}"
33- run : ./gradlew publish
33+ run : ./gradlew publishAllPublicationsToSonatypeSnapshots
3434 env :
3535 ORG_GRADLE_PROJECT_sonatypeUsername : " ${{ secrets.SONATYPE_USERNAME }}"
3636 ORG_GRADLE_PROJECT_sonatypePassword : " ${{ secrets.SONATYPE_PASSWORD }}"
3737 - name : Publish Release
3838 if : " ${{ env.STATUS == 'release' && github.event_name == 'release' }}"
39- run : ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository
39+ run : ./gradlew publishReleaseCentralPortalBundle
4040 env :
4141 ORG_GRADLE_PROJECT_sonatypeUsername : " ${{ secrets.SONATYPE_USERNAME }}"
4242 ORG_GRADLE_PROJECT_sonatypePassword : " ${{ secrets.SONATYPE_PASSWORD }}"
You can’t perform that action at this time.
0 commit comments