From d7b6bad204a1c5233c8231aec2886e7e1d27bacb Mon Sep 17 00:00:00 2001 From: Hanson Ho Date: Tue, 13 Aug 2024 13:41:54 -0700 Subject: [PATCH] Don't use build and config gradle caches in RC building workflows (#1241) ## Goal The nexus plugin doesn't like config cache, so disabling both that and the build cache. --- .github/workflows/build-rc-workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-rc-workflow.yml b/.github/workflows/build-rc-workflow.yml index 58f8b64479..db069924ab 100644 --- a/.github/workflows/build-rc-workflow.yml +++ b/.github/workflows/build-rc-workflow.yml @@ -82,7 +82,7 @@ jobs: - name: Generate SDK RC - Publish and close Sonatype repository run: | - ./gradlew clean publishReleasePublicationToSonatype closeSonatypeStagingRepository -Dorg.gradle.parallel=false --stacktrace + ./gradlew clean publishReleasePublicationToSonatype closeSonatypeStagingRepository -Dorg.gradle.parallel=false --no-build-cache --no-configuration-cache --stacktrace - name: Archive Test Results if: ${{ always() }} @@ -106,7 +106,7 @@ jobs: - name: Generate Swazzler RC - Publish and Close repository run: | - ./gradlew clean check publishToSonatype closeSonatypeStagingRepository -Dorg.gradle.parallel=false --stacktrace + ./gradlew clean check publishToSonatype closeSonatypeStagingRepository -Dorg.gradle.parallel=false --no-build-cache --no-configuration-cache --stacktrace - name: Set version tag in Swazzler run: |