-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
The README says:
Note
cache-hitwill only be set totruewhen a cache hit occurs for the exactkeymatch. For a partial key match viarestore-keysor 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