Cache restoration is orders of magnitude slower on Windows compared to Linux.
@Phantsure is already working on this.
Since Nov 10, 2022.
- Dominant language
- TypeScript
- Stars
- 5.6k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
We are using this action to cache Conan packages.
Our current cached is ~300 MB on both Linux (ubuntu-20.04) and Windows (windows-2019).
Sadly, where the cache step routinely takes ~10 seconds on Linux, it oftentimes takes ~5 minutes on Windows.
This makes iterations frustrating, as the rest of the workflow takes about 2 minutes to complete, we get a global x3 time penalty because of this.
As far as I can tell, the archive retrieval time is comparable, it really is the cache un-archiving which seems to take very long on Windows.
Our latest run below for illustration purposes.
Linux:

Windows:

Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.