-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
The README says:
Note
cache-hit
will only be set totrue
when a cache hit occurs for the exactkey
match. For a partial key match viarestore-keys
or a cache miss, it will be set tofalse
.
but outputs.cache-hit == 'false'
doesn't seem to be true when I get a cache miss, and I noticed that the examples all use != 'true'
, not == 'false'
.
I think here we can see restoreImpl
return early on a miss, without setting any value for cache-hit
at all. I'm not a TypeScript or Actions expert though.
In the meantime, I'll switch my == 'false'
to != 'true'
but I feel dirty. :)
chalkygames123, tymzar, pddg, korosuke613, azu and 4 more
Metadata
Metadata
Assignees
Labels
No labels