File tree Expand file tree Collapse file tree
setup-and-install-with-gradle Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,6 +79,12 @@ The following outputs are forwarded from the underlying `setup-java` and `cache`
7979| `path` | Path to where the java environment has been installed (same as $JAVA_HOME). |
8080| `cache-hit` | A boolean value to indicate an exact match was found for the primary key. (Not applicable when Gradle is used) |
8181
82+ # # Gradle configuration cache
83+
84+ To enable the Gradle configuration cache, which further improves the build performance, a secret called `GRADLE_ENCRYPTION_KEY` must exist.
85+ If the secret does not exist, Gradle will still work, but the configuration cache will not be saved.
86+ https://github.com/gradle/actions/blob/main/docs/setup-gradle.md#saving-configuration-cache-data
87+
8288# # Versioning
8389
8490In order to have a versioning in place and working, create lightweight tags that point to the appropriate minor release
Original file line number Diff line number Diff line change 4040 uses : gradle/actions/setup-gradle@v4
4141 with :
4242 cache-disabled : ${{ inputs.cache == 'false' }}
43+ cache-encryption-key : ${{ secrets.GRADLE_ENCRYPTION_KEY }}
4344 cache-read-only : ' false'
4445
4546 - name : Update dependencies
Original file line number Diff line number Diff line change 4040 uses : gradle/actions/setup-gradle@v4
4141 with :
4242 cache-disabled : ${{ inputs.cache == 'false' }}
43+ cache-encryption-key : ${{ secrets.GRADLE_ENCRYPTION_KEY }}
4344 cache-read-only : ' false'
You can’t perform that action at this time.
0 commit comments