Skip to content

Commit

Permalink
Clarify that the empty string is returned if no cache is restored.
Browse files Browse the repository at this point in the history
Closes: actions#1513
  • Loading branch information
lima-limon-inc committed Dec 11, 2024
1 parent 1bd1e32 commit bfb79cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit bfb79cc

Please sign in to comment.