From b890eaff9e12807534ce7ce7e5de52e41d6d8d75 Mon Sep 17 00:00:00 2001 From: Oleg Yukhnevich Date: Wed, 22 May 2024 10:03:25 +0300 Subject: [PATCH] update release workflow to publish without parallelism because of Maven Central repository split --- .github/workflows/publish-release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index b6f6ce10..26d4ade1 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 }} --no-configuration-cache + run: ./gradlew publishToMavenLocal -Pversion=${{ github.ref_name }} 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 publishAllPublicationsToMavenCentralRepository -Pversion=${{ github.ref_name }} --no-configuration-cache + run: ./gradlew publishAllPublicationsToMavenCentralRepository -Pversion=${{ github.ref_name }} --max-workers=1 env: ORG_GRADLE_PROJECT_signingKey: ${{secrets.signingKey}} ORG_GRADLE_PROJECT_signingPassword: ${{secrets.signingPassword}}