actions
actions copied to clipboard
Allow action, wrapper and testKit to share downloaded Gradle distributions
Currently, there are 3 mechanisms by which Gradle distributions may be downloaded:
- When the
gradle-build-action
provisions a specified Gradle version for use - When the Gradle wrapper is used to run a project
- When Gradle TestKit is used to test a project with different Gradle versions.
Ideally, these would all share a common download location and cache entry, avoiding the need to re-download the same Gradle distribution multiple times.
In addition, if a Gradle distribution is pre-installed on the runner, it would be good if this version didn't have to be re-downloaded for the 3 mechanisms listed above.