Runs after restoring the cache on GitHub Actions using @actions/cache.
This function resets the timestamps of all files in the repository and then touches all files modified since the last time the action was run. This is meant to mimic the behavior one would get if running
showyourworklocally, where only files whose upstream dependencies have fresher timestamps get rebuilt.
Note that we only cache files in
Runs before updating the cache using @actions/cache.
This function writes the current commit SHA to a file in the repository so we can track which files changed the next time we run the action.
Return all files that changed since commit.
commit (str) – The commit to compare against.
A list of Path objects for all files that changed since commit.
- Return type