This action caches artifacts to improve workflow execution time on self hosted machine. Artifacts are cached in the /tmp/.cache.
Optional A top directory to cache and restore.
Required A directory to cache and restore.
Required An explicit key for a cache entry.
Cache hit or not
uses: corca-ai/local-cache@1
with:
path: node_modules
key: ${{ hashFiles('yarn.lock') }}