Debug-action-cache Jun 2026

: You will see Cache not found for input keys: .

Your hashFiles('requirements.txt') changed (maybe a whitespace change), causing the exact key to miss. The restore key Linux-pip- matched a cache from the staging branch instead of main . debug-action-cache

Insert a step immediately after your cache restore: : You will see Cache not found for input keys:

. To "refresh" a cache, you must change the key name (e.g., by incrementing a version number in your YAML). GitHub Docs 4. Advanced CLI Debugging You can interact with the cache directly using the GitHub CLI ( gh-actions-cache extension. Stack Overflow gh actions-cache list View all caches in the terminal. gh actions-cache delete Manually purge a problematic cache. debug-action-cache