From 63d8658a943c15ea568297581209370eebedf25d Mon Sep 17 00:00:00 2001 From: Tomas Fabrizio Orsi Date: Wed, 11 Dec 2024 09:23:08 -0300 Subject: [PATCH] README.md: Clarify that the empty string is returned if no cache is restored. Closes: #1513 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3f07f15..88874eb 100644 --- a/README.md +++ b/README.md @@ -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