mirror of https://github.com/actions/cache.git
Use different IDs for 1) getting the directory of yarn cache 2) the cache itself (#178)
* Use different IDs for 1) getting the directory of yarn cache 2) the cache itself Using the current example + https://github.com/actions/cache#skipping-steps-based-on-cache-hit, I came to a wrong conclusion that I could skip a step if the `cache-hit` was `true` - the ID I used was from the wrong step - the `get yarn cache directory` step, instead of the `get yarn cache itself` step. I've updated the example in hopes that it'll be clearer for others aswell! Signed-off-by: Kipras Melnikovas <kipras@kipras.org> * Explain which ID to use for `cache-hit` in yarn's example Signed-off-by: Kipras Melnikovas <kipras@kipras.org>pull/195/head
parent
4944275b95
commit
e8230b28a9
Loading…
Reference in New Issue