diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 28c01e0e6..a9b42f9b1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -38,7 +38,7 @@ jobs: # Runs upload, and then closes & releases the repository - name: Publish to MavenCentral - run: ./gradlew publishAllPublicationsToSonatypeRepository closeAndReleaseSonatypeStagingRepository + run: ./gradlew publishReleasePublicationToSonatypeRepository --max-workers 1 # closeAndReleaseStagingRepository env: OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} OSSRH_PASSWORD: ${{ secrets.OSSRH_PASSWORD }}