From d899676480109a04d220ff205d0893eed98a3f45 Mon Sep 17 00:00:00 2001 From: daz Date: Wed, 20 Dec 2023 11:24:27 -0700 Subject: [PATCH] Disable config-cache encryption in test --- .../integ-test-restore-configuration-cache.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/integ-test-restore-configuration-cache.yml b/.github/workflows/integ-test-restore-configuration-cache.yml index bcd5e46a..76cff2aa 100644 --- a/.github/workflows/integ-test-restore-configuration-cache.yml +++ b/.github/workflows/integ-test-restore-configuration-cache.yml @@ -36,7 +36,7 @@ jobs: cache-read-only: false # For testing, allow writing cache entries on non-default branches - name: Groovy build with configuration-cache enabled working-directory: .github/workflow-samples/groovy-dsl - run: ./gradlew test --configuration-cache + run: ./gradlew test --configuration-cache -Dorg.gradle.configuration-cache.internal.encryption=false verify-build-groovy: env: @@ -58,7 +58,7 @@ jobs: - name: Groovy build with configuration-cache enabled id: execute working-directory: .github/workflow-samples/groovy-dsl - run: ./gradlew test --configuration-cache + run: ./gradlew test --configuration-cache -Dorg.gradle.configuration-cache.internal.encryption=false - name: Check that configuration-cache was used uses: actions/github-script@v7 with: @@ -90,7 +90,7 @@ jobs: cache-read-only: true - name: Check execute Gradle build with configuration cache enabled (but not restored) working-directory: .github/workflow-samples/groovy-dsl - run: ./gradlew test --configuration-cache + run: ./gradlew test --configuration-cache -Dorg.gradle.configuration-cache.internal.encryption=false seed-build-kotlin: env: @@ -110,7 +110,7 @@ jobs: cache-read-only: false # For testing, allow writing cache entries on non-default branches - name: Execute 'help' with configuration-cache enabled working-directory: .github/workflow-samples/kotlin-dsl - run: ./gradlew help --configuration-cache + run: ./gradlew help --configuration-cache -Dorg.gradle.configuration-cache.internal.encryption=false modify-build-kotlin: env: @@ -131,7 +131,7 @@ jobs: cache-read-only: false # For testing, allow writing cache entries on non-default branches - name: Execute 'test' with configuration-cache enabled working-directory: .github/workflow-samples/kotlin-dsl - run: ./gradlew test --configuration-cache + run: ./gradlew test --configuration-cache -Dorg.gradle.configuration-cache.internal.encryption=false # Test restore configuration-cache from the third build invocation verify-build-kotlin: @@ -154,7 +154,7 @@ jobs: - name: Execute 'test' again with configuration-cache enabled id: execute working-directory: .github/workflow-samples/kotlin-dsl - run: ./gradlew test --configuration-cache + run: ./gradlew test --configuration-cache -Dorg.gradle.configuration-cache.internal.encryption=false - name: Check that configuration-cache was used uses: actions/github-script@v7 with: