diff --git a/.github/workflows/tagged_release.yaml b/.github/workflows/tagged_release.yaml index 42f121a..808f1f7 100644 --- a/.github/workflows/tagged_release.yaml +++ b/.github/workflows/tagged_release.yaml @@ -14,7 +14,7 @@ jobs: with: java-version: 1.8 - name: Publish to the Maven Central Repository - run: ./gradlew publish -PcheckoutIfCloned -Prelease + run: ./gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository -Prelease env: OSSRH_USERNAME: ${{ secrets.OSSRH_USERNAME }} OSSRH_TOKEN: ${{ secrets.OSSRH_TOKEN }}