actions icon indicating copy to clipboard operation
actions copied to clipboard

Unclear setup-gradle cache- input descriptions

Open TWiStErRob opened this issue 5 months ago • 0 comments

Please clarify in the action.yml file which cache- inputs affect which caches.

https://github.com/gradle/actions/blob/182e4d39a69c621df8047e4504c7be47bacfd8d6/setup-gradle/action.yml#L11-L66

The available caches being:

  • GitHub Actions Cache
  • Build Cache
  • Configuration Cache
  • Artifact Transforms?
  • maybe more?

For example we have been wondering if cache-read-only: affects GHA and CC. https://docs.gradle.org/current/userguide/configuration_cache_enabling.html#config_cache:usage:read_only

It could be argued both ways that setup-gradle should/not set the CC read-only flag on PRs. This issue about clarifying what is intended, not whether it should or not.

TWiStErRob avatar Sep 22 '25 14:09 TWiStErRob