Caching default options are different from README in the main branch
See original GitHub issueOverview
main README
Each of these are enabled by default. To save caching space, you can disable any of them as follows:
v1.5.1 README
Only the first one, caching downloaded distributions, is enabled by default. Future versions of this action will enable all caching by default.
Description
I’ve tried to use this action. before I use it, I read the README and caching part. The version of README was the main branch. It said caching for distribution, dependencies, configuration are all enabled by default.
But, when I used gradle-build-action@v1, It only enabled distribution caching, others are disabled. (I realized it after spending a lot of time)
I checked the README of v1.5.1(latest version), the default option was different from the document I’ve seen.
I guess most users will read README in the main branch, not the latest tagging branch. It’ll be better to sync README in the main branch with the latest version’s options.
Reference
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)

Top Related StackOverflow Question
This is unrelated. It looks like you are incorrectly passing a
job-idparameter to the action, which is not supported.Thanks for the feedback. I somewhat foolishly merged the new
releases/v2branch intomain, since that’s now the primary development branch. But the README has not yet been updated. I’ll do that soon, even if just to point to the stablev1.5.1release.