@@ -88,7 +88,7 @@ For more information, see [`actions/cache`](https://github.com/actions/cache).
|
||||
### Input parameters for the `cache` action
|
||||
|
||||
- `key`: **Required** The key created when saving a cache and the key used to search for a cache. Can be any combination of variables, context values, static strings, and functions. Keys have a maximum length of 512 characters, and keys longer than the maximum length will cause the action to fail.
|
||||
- `path`: **Required** The file path on the runner to cache or restore. The path can be an absolute path or relative to the working directory.
|
||||
- `path`: **Required** The file path on the runner to cache or restore. The path can be an absolute path or relative to the workspace directory.
|
||||
- Paths can be either directories or single files, and glob patterns are supported.
|
||||
- With `v2` of the `cache` action, you can specify a single path, or you can add multiple paths on separate lines. For example:
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user