mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 18:36:46 +00:00
Set output cache-hit to indicate if cache was hit
This commit is contained in:
parent
a12e082d83
commit
01f97385c3
4 changed files with 8 additions and 0 deletions
|
@ -70,6 +70,8 @@ The action has a built-in functionality for caching and restoring dependencies.
|
|||
- gradle: `**/*.gradle*`, `**/gradle-wrapper.properties`
|
||||
- maven: `**/pom.xml`
|
||||
|
||||
The workflow output `cache-hit` is set to indicate if an exact match was found for the key [as actions/cache does](https://github.com/actions/cache/tree/main#outputs).
|
||||
|
||||
The cache input is optional, and caching is turned off by default.
|
||||
|
||||
#### Caching gradle dependencies
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue