Debug-action-cache | High Quality

This guide provides a comprehensive overview of debugging the GitHub Actions cache

What is Debug-Action-Cache?

Before digging into specific keys, you need to see exactly what the runner is doing during the "Restore Cache" and "Post-run: Save Cache" steps. Repository Variable Settings > Secrets and variables > Actions ACTIONS_STEP_DEBUG Workflow Scope : This will force the actions/cache debug-action-cache

function is actually detecting changes. You can add a temporary step to print the hash to the console: : Debug Cache Key "The hash is $ hashFiles('**/package-lock.json') " Use code with caution. Copied to clipboard This guide provides a comprehensive overview of debugging

Your Action Plan:

Benefits

The Debug Action Cache offers several benefits, including: debug-action-cache

Back
Top