Compare commits

...

2 Commits

Author SHA1 Message Date
Tomas Fabrizio Orsi
2a7329cde1
Merge 63d8658a943c15ea568297581209370eebedf25d into 7921ae235bdcb376cc8f22558dc5f8ddc3c3c2f9 2025-02-19 10:09:32 +05:30
Tomas Fabrizio Orsi
63d8658a94 README.md: Clarify that the empty string is returned if no cache is restored.
Closes: #1513
2024-12-11 09:27:44 -03:00

View File

@ -126,7 +126,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