mirror of
https://gitea.com/actions/cache.git
synced 2024-11-13 07:52:28 +08:00
Updated outputs of restore action
This commit is contained in:
parent
0cc9c1d4e8
commit
00b72c7e02
|
@ -16,7 +16,8 @@ It is very important to use the same `key` and `path` that were used by either `
|
||||||
## Outputs
|
## Outputs
|
||||||
|
|
||||||
* `cache-hit` - A boolean value to indicate an exact match was found for the key.
|
* `cache-hit` - A boolean value to indicate an exact match was found for the key.
|
||||||
* `key` -
|
* `cache-primary-key` - Cache primary key passed in the input to use in subsequent steps of the workflow
|
||||||
|
* `cache-restore-key` - Cache key restored
|
||||||
|
|
||||||
> **Note**
|
> **Note**
|
||||||
`cache-hit` will be set to `true` only when cache hit occurs for the exact `key` match. For a partial key match via `restore-keys` or a cache miss, it will be set to `false`.
|
`cache-hit` will be set to `true` only when cache hit occurs for the exact `key` match. For a partial key match via `restore-keys` or a cache miss, it will be set to `false`.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user