Updated outputs of restore action

This commit is contained in:
Sankalp Kotewar 2022-12-12 11:36:12 +00:00 committed by GitHub
parent 0cc9c1d4e8
commit 00b72c7e02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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`.