gradle / gradle-build-action

Execute your Gradle build and trigger dependency submission
https://github.com/marketplace/actions/gradle-build-action
MIT License
671 stars 97 forks source link

Is there a way to disable wrapper-zips? #783

Closed TWiStErRob closed 1 year ago

TWiStErRob commented 1 year ago

There's no need to cache wrappers (in case cache space could be an issue), because the gradlew download is near "instant": image

Using the GHA runner caches instead of a custom cache is probably a good idea. This might not apply to all versions of the wrapper, or all GHA envs, but an option to choose which bundles to cache would be nice.

tbroyer commented 1 year ago

You can exclude the wrapper directory: https://github.com/gradle/gradle-build-action#gradle-user-home-cache-tuning

TWiStErRob commented 1 year ago

Ah, nice, thanks!