actions-marketplace-validations/Gradle Cache

Caches .gradle folder (dependencies, local build cache, ...)

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
job-idA job identifier to avoid cache pollution from different jobsno
build-root-directoryRelative path under $GITHUB_WORKSPACE where Git repository is placedno
home-directoryOverrides the location of $HOME (e.g. to avoid use of /root when running in Docker)no
gradle-version(wrapper | or explicit version) Caches often depend on the Gradle version, so this parameter sets the ID to use for cache keys. It does not affect the Gradle version used for buildnowrapper
read-onlyConfigures caches for read-only opreration (e.g. to save GitHub Actions storage limit)nofalse
save-generated-gradle-jarsEnables caching of $HOME/.gradle/caches/*.*/generated-gradle-jarsnotrue
save-local-build-cacheEnables caching of $HOME/.gradle/caches/build-cache-1notrue
multi-cache-enabledAdds com.github.burrunan.multi-cache plugin to settings.gradle so GitHub Actions cache can be used in parallel with Gradle remote build cachenotrue
multi-cache-versionConfigures com.github.burrunan.multi-cache version to useno1.0
multi-cache-repositoryConfigures repository where com.github.burrunan.multi-cache can be locatedno""
multi-cache-group-id-filterConfigures group id for selecting only com.github.burrunan.multi-cache artifacts (it enables Gradle to use custom repository for multi-cache only)nocom[.]github[.]burrunan[.]multi-?cache
save-gradle-dependencies-cacheEnables caching of ~/.gradle/caches/modules-*notrue
execution-only-cachesActivates only the caches that are relevant for executing gradle command. This is helpful when build job executes multiple gradle commands sequentially. Then the caching is implemented in the very first one, and the subsequent should be marked with execution-only-caches: true nofalse
remote-build-cache-proxy-enabledActivates a remote cache that proxies requests to GitHub Actions cachenotrue
gradle-dependencies-cache-keyExtra files to take into account for ~/.gradle/caches dependenciesno
save-maven-dependencies-cacheEnables caching of ~/.m2/repository/notrue
maven-local-ignore-pathsSpecifies ignored paths in the Maven Local repository (e.g. the artifacts of the current project)no""
debugShows extra logging to debug the actionnotrue
daemonEnables or disables Gradle Daemon (--no-daemon). Defaults to false as typically the build executes only once in CI, so there's no much value in keeping the daemonnofalse
concurrentEnables concurent cache download and upload (disabled by default for better log output)nofalse
argumentsGradle arguments to pass (optionally multiline)no
propertiesExtra Gradle properties (multiline) which would be passed as -Pname=value argumentsno
gradle-build-scan-reportPublishes Gradle Build Scan URL to job report.notrue
gradle-distribution-sha-256-sum-warningEnables warning when distributionSha256Sum property is missing in gradle-wrapper.propertiesnotrue
namedescription
build-scan-urlLink to the build scan if any