diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b53fba6..7d86ef2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,7 +27,8 @@ jobs: java-version: 17 distribution: temurin - name: Release Maven package - run: ./gradlew publishJvmPublicationToSonatypeRepository + #run: ./gradlew publishJvmPublicationToSonatypeRepository + run: ./gradlew assemble env: OSSRH_USERNAME: ${{ secrets.SONATYPE_OSSRH_USERNAME }} OSSRH_PASSWORD: ${{ secrets.SONATYPE_OSSRH_PASSWORD }} diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 879eee8..703934e 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -30,7 +30,8 @@ jobs: java-version: 17 distribution: temurin - name: Release Maven package - run: ./gradlew publishJvmPublicationToSonatypeRepository -PremoveSnapshot + #run: ./gradlew publishJvmPublicationToSonatypeRepository -PremoveSnapshot + run: ./gradlew assemble with: OSSRH_USERNAME: ${{ secrets.SONATYPE_OSSRH_USERNAME }} OSSRH_PASSWORD: ${{ secrets.SONATYPE_OSSRH_PASSWORD }}