diff --git a/.github/workflows/gradle-publish.yml b/.github/workflows/gradle-publish.yml index 62917d0..e8211e0 100644 --- a/.github/workflows/gradle-publish.yml +++ b/.github/workflows/gradle-publish.yml @@ -15,7 +15,7 @@ jobs: java-version: 11 distribution: 'adopt' - name: Publish package - run: ./gradlew --no-parallel publishToSonatype uploadDocumentation closeAndReleaseRepository + run: ./gradlew --no-parallel publishToSonatype uploadDocumentation closeAndReleaseSonatypeStagingRepository env: ORG_GRADLE_PROJECT_sonatypeUsername: ${{ secrets.OSSRH_USERNAME }} ORG_GRADLE_PROJECT_sonatypePassword: ${{ secrets.OSSRH_PASSWORD }}