diff --git a/.github/workflows/publish-package.yml b/.github/workflows/publish-package.yml index 3fa1eab..16a00d4 100644 --- a/.github/workflows/publish-package.yml +++ b/.github/workflows/publish-package.yml @@ -31,7 +31,7 @@ jobs: - name: Publish package working-directory: ./java - run: ./gradlew publish + run: ./gradlew clean publishToSonatype closeAndReleaseSonatypeStagingRepository --no-daemon env: MAVEN_USERNAME: ${{ secrets.OSSRH_USERNAME }} MAVEN_PASSWORD: ${{ secrets.OSSRH_TOKEN }}