12
0
Fork 0
mirror of https://github.com/actions/cache.git synced 2026-06-28 19:50:44 +00:00
This commit is contained in:
Tomas Fabrizio Orsi 2026-06-23 20:21:50 -04:00 committed by GitHub
commit 851b9d3ead
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -153,7 +153,7 @@ jobs:
run: /primes.sh -d prime-numbers
```
The `cache` action provides a `cache-hit` output which is set to `true` when the cache is restored using the primary `key` and `false` when the cache is restored using `restore-keys` or no cache is restored.
The `cache` action provides a `cache-hit` output which is set to `true` when the cache is restored using the primary `key` and `false` when the cache is restored using `restore-keys`. If no cache is restored, it is set to the empty string.
#### Using a combination of restore and save actions