setup-miniconda
setup-miniconda copied to clipboard
Caching makes the setup step extremely slow
w cache: 2:48 w/o cache: 0:48
Reference for w/: https://github.com/PMEAL/porespy/runs/2297831537?check_suite_focus=true Reference for w/o: https://github.com/PMEAL/porespy/runs/2297862739?check_suite_focus=true
I experienced the same issue on ubuntu-latest
and macos-latest
images.
In https://github.com/pangeo-forge/pangeo-forge-recipes/pull/231#issuecomment-966623474 we have also found that caching (following the procedure recommended in the docs) does not speed up our builds at all.
Does anyone have evidence of a working cache setup that makes this action run faster?
I recently found how to cache the installed environment instead of caching the downloaded packages, maybe is useful: https://dev.to/epassaro/caching-anaconda-environments-in-github-actions-5hde