Update docs

This commit is contained in:
Al Sutton 2021-12-21 13:11:33 +00:00
parent f58da94109
commit 22f4b2eeaa

View file

@ -68,6 +68,10 @@ Currently, the following distributions are supported:
### Caching packages dependencies
The action has a built-in functionality for caching and restoring dependencies. It uses [actions/cache](https://github.com/actions/cache) under hood for caching dependencies but requires less configuration settings. Supported package managers are gradle and maven. The cache input is optional, and caching is turned off by default.
The option to use the cache in a read-only mode is available via the parameter `cache-is-read-only`, which
defaults to `false`. When set to `true`, and caching is enabled, this allows PR workflows to benefit from
cached build artifacts, but not taint the cache with PR specific changes which may be in a state of flux.
#### Caching gradle dependencies
```yaml
steps: