diff --git a/.github/workflows/integ-test-restore-configuration-cache.yml b/.github/workflows/integ-test-restore-configuration-cache.yml index e5f7061..1916563 100644 --- a/.github/workflows/integ-test-restore-configuration-cache.yml +++ b/.github/workflows/integ-test-restore-configuration-cache.yml @@ -35,9 +35,10 @@ jobs: with: cache-read-only: false # For testing, allow writing cache entries on non-default branches cache-encryption-key: Da25KUVSE5jbGds2zXmfXw== + gradle-version: release-nightly - name: Groovy build with configuration-cache enabled working-directory: .github/workflow-samples/groovy-dsl - run: ./gradlew test --configuration-cache + run: gradle test --configuration-cache verify-build-groovy: env: @@ -57,10 +58,11 @@ jobs: with: cache-read-only: true cache-encryption-key: Da25KUVSE5jbGds2zXmfXw== + gradle-version: release-nightly - name: Groovy build with configuration-cache enabled id: execute working-directory: .github/workflow-samples/groovy-dsl - run: ./gradlew test --configuration-cache + run: gradle test --configuration-cache - name: Check that configuration-cache was used uses: actions/github-script@v7 with: @@ -91,9 +93,10 @@ jobs: with: cache-read-only: true cache-encryption-key: Da25KUVSE5jbGds2zXmfXw== + gradle-version: release-nightly - 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: gradle test --configuration-cache seed-build-kotlin: env: @@ -112,9 +115,10 @@ jobs: with: cache-read-only: false # For testing, allow writing cache entries on non-default branches cache-encryption-key: Da25KUVSE5jbGds2zXmfXw== + gradle-version: release-nightly - name: Execute 'help' with configuration-cache enabled working-directory: .github/workflow-samples/kotlin-dsl - run: ./gradlew help --configuration-cache + run: gradle help --configuration-cache modify-build-kotlin: env: @@ -134,9 +138,10 @@ jobs: with: cache-read-only: false # For testing, allow writing cache entries on non-default branches cache-encryption-key: Da25KUVSE5jbGds2zXmfXw== + gradle-version: release-nightly - name: Execute 'test' with configuration-cache enabled working-directory: .github/workflow-samples/kotlin-dsl - run: ./gradlew test --configuration-cache + run: gradle test --configuration-cache # Test restore configuration-cache from the third build invocation verify-build-kotlin: @@ -157,10 +162,11 @@ jobs: with: cache-read-only: true cache-encryption-key: Da25KUVSE5jbGds2zXmfXw== + gradle-version: release-nightly - name: Execute 'test' again with configuration-cache enabled id: execute working-directory: .github/workflow-samples/kotlin-dsl - run: ./gradlew test --configuration-cache + run: gradle test --configuration-cache - name: Check that configuration-cache was used uses: actions/github-script@v7 with: