gradle / gradle/actions

Unclear setup-gradle cache- input descriptions

Open
#744 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
340
Forks
117
Avg merge
1d 9h
Merged PRs (30d)
11

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.