Closed andreiz closed 2 months ago
@andreiz , When the workflow is running for a PR, it can restore cache from the main branch. However, cache hit will be false in this case. There are a couple of more cases mentioned here : https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key
This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days.
This issue was closed because it has been inactive for 5 days since being marked as stale.
I am caching the build directory of
swift-format
. The cache is being restored successfully on the exact key, but thecache-hit
variable seems being set tofalse
. Is the code wrong or is there a bug in the action?The output from the latest job: