diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index ea495553..a939b0bd 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -17,7 +17,7 @@ jobs: cache-disabled: true - name: Publish to Maven Local (prepare packages) - run: ./gradlew publishToMavenLocal -Pversion=${{ github.ref_name }} + run: ./gradlew publishToMavenLocal -Pversion=${{ github.ref_name }} --no-configuration-cache env: ORG_GRADLE_PROJECT_signingKey: ${{secrets.signingKey}} ORG_GRADLE_PROJECT_signingPassword: ${{secrets.signingPassword}} @@ -25,7 +25,7 @@ jobs: ORG_GRADLE_PROJECT_sonatypePassword: ${{secrets.sonatypePassword}} - name: Publish release to Maven Central (version ${{ github.ref_name }}) - run: ./gradlew publishAllPublicationsToSonatypeRepository -Pversion=${{ github.ref_name }} --max-workers=1 + run: ./gradlew publishAllPublicationsToSonatypeRepository -Pversion=${{ github.ref_name }} --no-configuration-cache env: ORG_GRADLE_PROJECT_signingKey: ${{secrets.signingKey}} ORG_GRADLE_PROJECT_signingPassword: ${{secrets.signingPassword}}