Debug-action-cache -

If using actions/cache@v3 , add the verbose input:

The cache action creates a .tar archive. Debug logs reveal segmentation: debug-action-cache

The actions/cache action outputs a boolean variable named cache-hit . You can print this to verify if the restoration actually succeeded. If using actions/cache@v3 , add the verbose input:

✅ Fix: Use same restore-keys in PR as in main, but disable save if undesired: ✅ Fix: Use same restore-keys in PR as

The Debug Action Cache offers several benefits, including:

| Concept | Meaning | |---------|---------| | | Unique ID for a cache entry (e.g., node-cache-linux-14-abc123 ) | | Restore key | Fallback pattern to find an older cache (e.g., node-cache-linux-14- ) | | Scope | Cache is scoped to branch + workflow + (optionally) cache-version | | Save behavior | Only runs if key didn't match an existing cache |

Scroll to Top