From ce5a189a930a6c6be3e396b9119278965b4e2c26 Mon Sep 17 00:00:00 2001 From: daz Date: Thu, 11 Jan 2024 13:36:41 -0700 Subject: [PATCH] Add dependency-graph generation in existing config-cache reuse test --- .github/workflows/integ-test-dependency-graph.yml | 4 ++-- .github/workflows/integ-test-restore-configuration-cache.yml | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/integ-test-dependency-graph.yml b/.github/workflows/integ-test-dependency-graph.yml index 72f38e1b..a8adc171 100644 --- a/.github/workflows/integ-test-dependency-graph.yml +++ b/.github/workflows/integ-test-dependency-graph.yml @@ -83,7 +83,7 @@ jobs: - name: Setup Gradle for dependency-graph generate uses: ./ with: - dependency-graph: generate-and-submit + dependency-graph: generate - id: gradle-assemble run: ./gradlew assemble working-directory: .github/workflow-samples/groovy-dsl @@ -127,7 +127,7 @@ jobs: - name: Setup Gradle for dependency-graph generate uses: ./ with: - dependency-graph: generate-and-submit + dependency-graph: generate - id: config-cache-store run: ./gradlew assemble --configuration-cache working-directory: .github/workflow-samples/groovy-dsl diff --git a/.github/workflows/integ-test-restore-configuration-cache.yml b/.github/workflows/integ-test-restore-configuration-cache.yml index 5a41423b..d772e9d6 100644 --- a/.github/workflows/integ-test-restore-configuration-cache.yml +++ b/.github/workflows/integ-test-restore-configuration-cache.yml @@ -39,6 +39,7 @@ jobs: cache-read-only: false # For testing, allow writing cache entries on non-default branches cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} gradle-version: 8.6-rc-1 + dependency-graph: generate - name: Groovy build with configuration-cache enabled working-directory: .github/workflow-samples/groovy-dsl run: gradle test --configuration-cache @@ -62,6 +63,7 @@ jobs: cache-read-only: true cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} gradle-version: 8.6-rc-1 + dependency-graph: generate - name: Groovy build with configuration-cache enabled id: execute working-directory: .github/workflow-samples/groovy-dsl