mirror of https://github.com/actions/cache.git
README: clarify that `cache-hit` returns a string and not a boolean
Rationale: if `cache-hit` was a boolean, then `!` could be used to get the opposite. However, it is really a string, and this should be pointed out clearly in the documentation. Because both `!'true'` and `!'false'` are `false`, so customers can shoot themselves in the foot here. Closes #1262.pull/1263/head
parent
0c45773b62
commit
8fc291c114
Loading…
Reference in New Issue