mirror of
https://github.com/gradle/gradle-build-action
synced 2024-11-27 12:02:15 +00:00
Reference 8.6-rc-1 in docs
This commit is contained in:
parent
ceb0c736c1
commit
c791d32284
1 changed files with 2 additions and 2 deletions
|
@ -169,7 +169,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:
|
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.
|
- 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.
|
- Enable the configuration cache for your build.
|
||||||
- Generate a [valid Gradle encryption key](https://docs.gradle.org/release-nightly/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-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).
|
||||||
- Provide the secret key via the `cache-encryption-key` action parameter.
|
- Provide the secret key via the `cache-encryption-key` action parameter.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
|
@ -180,7 +180,7 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: gradle/gradle-build-action@v3
|
- uses: gradle/gradle-build-action@v3
|
||||||
with:
|
with:
|
||||||
gradle-version: 8.6
|
gradle-version: 8.6-rc-1
|
||||||
cache-encryption-key: ${{ secrets.GradleEncryptionKey }}
|
cache-encryption-key: ${{ secrets.GradleEncryptionKey }}
|
||||||
- run: gradle build --configuration-cache
|
- run: gradle build --configuration-cache
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue