From bc07b88bc00c193839e88ae7d3d9868af512549c Mon Sep 17 00:00:00 2001 From: Goooler Date: Sat, 3 Feb 2024 10:37:43 +0800 Subject: [PATCH] Update Gradle 8.6 rc refs to the final version https://github.com/gradle/gradle/releases/tag/v8.6.0 Signed-off-by: Goooler --- .../integ-test-restore-configuration-cache.yml | 12 ++++++------ dependency-submission/README.md | 2 +- setup-gradle/README.md | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/integ-test-restore-configuration-cache.yml b/.github/workflows/integ-test-restore-configuration-cache.yml index 6493d36..8438895 100644 --- a/.github/workflows/integ-test-restore-configuration-cache.yml +++ b/.github/workflows/integ-test-restore-configuration-cache.yml @@ -43,7 +43,7 @@ jobs: with: 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 + gradle-version: 8.6 - name: Groovy build with configuration-cache enabled working-directory: .github/workflow-samples/groovy-dsl run: gradle test --configuration-cache @@ -71,7 +71,7 @@ jobs: with: cache-read-only: true cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} - gradle-version: 8.6-rc-1 + gradle-version: 8.6 - name: Groovy build with configuration-cache enabled id: execute working-directory: .github/workflow-samples/groovy-dsl @@ -111,7 +111,7 @@ jobs: with: cache-read-only: true cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} - gradle-version: 8.6-rc-1 + gradle-version: 8.6 - name: Check execute Gradle build with configuration cache enabled (but not restored) working-directory: .github/workflow-samples/groovy-dsl run: gradle test --configuration-cache @@ -138,7 +138,7 @@ jobs: with: 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 + gradle-version: 8.6 - name: Execute 'help' with configuration-cache enabled working-directory: .github/workflow-samples/kotlin-dsl run: gradle help --configuration-cache @@ -166,7 +166,7 @@ jobs: with: 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 + gradle-version: 8.6 - name: Execute 'test' with configuration-cache enabled working-directory: .github/workflow-samples/kotlin-dsl run: gradle test --configuration-cache @@ -195,7 +195,7 @@ jobs: with: cache-read-only: true cache-encryption-key: ${{ secrets.GRADLE_ENCRYPTION_KEY }} - gradle-version: 8.6-rc-1 + gradle-version: 8.6 - name: Execute 'test' again with configuration-cache enabled id: execute working-directory: .github/workflow-samples/kotlin-dsl diff --git a/dependency-submission/README.md b/dependency-submission/README.md index 9b52eba..a4f36a2 100644 --- a/dependency-submission/README.md +++ b/dependency-submission/README.md @@ -62,7 +62,7 @@ jobs: uses: gradle/actions/dependency-submission@v3 with: # Use a particular Gradle version instead of the configured wrapper. - gradle-version: 8.6-rc-2 + gradle-version: 8.6 # The gradle project is not in the root of the repository. build-root-directory: my-gradle-project diff --git a/setup-gradle/README.md b/setup-gradle/README.md index 39b8453..89c5789 100644 --- a/setup-gradle/README.md +++ b/setup-gradle/README.md @@ -167,7 +167,7 @@ secrets](https://docs.gradle.org/release-nightly/userguide/configuration_cache.h In order to benefit from configuration caching in your GitHub Actions workflow, you must: - Execute your build with Gradle 8.6 or newer. This can be achieved directly, or via the Gradle Wrapper. - Enable the configuration cache for your build. -- Generate a [valid Gradle encryption key](https://docs.gradle.org/8.6-rc-1/userguide/configuration_cache.html#config_cache:secrets:configuring_encryption_key) and save it as a [GitHub Actions secret](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions). +- Generate a [valid Gradle encryption key](https://docs.gradle.org/8.6/userguide/configuration_cache.html#config_cache:secrets:configuring_encryption_key) and save it as a [GitHub Actions secret](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions). - Provide the secret key via the `cache-encryption-key` action parameter. ```yaml @@ -178,7 +178,7 @@ jobs: - uses: actions/checkout@v4 - uses: gradle/actions/setup-gradle@v3 with: - gradle-version: 8.6-rc-1 + gradle-version: 8.6 cache-encryption-key: ${{ secrets.GradleEncryptionKey }} - run: gradle build --configuration-cache ```