From ff994b7dbae401b6dd02f7fe7eeeb8454ae8d9e4 Mon Sep 17 00:00:00 2001 From: Guy Davenport Date: Tue, 10 Sep 2024 21:42:19 +1200 Subject: [PATCH] Update publish-package.yml --- .github/workflows/publish-package.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }}