You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| `cache-name` | `aboutbits-setup-java` | Cache name. Caches with the same name will share their contents. (Not applicable when Gradle is used) |
71
+
| `cache-encryption-key` | | Optional encryption key for the Gradle configuration cache. (Not applicable when Maven is used) |
70
72
71
73
#### Outputs
72
74
@@ -81,8 +83,10 @@ The following outputs are forwarded from the underlying `setup-java` and `cache`
81
83
82
84
## Gradle configuration cache
83
85
84
-
To enable the Gradle configuration cache, which further improves the build performance in addition to the default enabled wrapper/script/dependency/build cache, a GitHub 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
+
To enable the Gradle configuration cache, which further improves the build performance in addition to the default
87
+
enabled wrapper/script/dependency/build cache, create a GitHub secret called `GRADLE_ENCRYPTION_KEY` and pass it to the
88
+
`cache-encryption-key`input.
89
+
If you do not specify `cache-encryption-key`, Gradle will still work, but the configuration cache will not be saved.
0 commit comments