actions / cache

Cache dependencies and build outputs in GitHub Actions
MIT License
4.37k stars 1.16k forks source link

README: clarify that `cache-hit` returns a string and not a boolean #1263

Open andreasabel opened 8 months ago

andreasabel commented 8 months ago

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.

andreasabel commented 7 months ago

@bethanyj28 : Anything left to do here?