setup-miniconda icon indicating copy to clipboard operation
setup-miniconda copied to clipboard

How to cache an env

Open epassaro opened this issue 2 years ago • 3 comments

During the GitHub Actions Hackathon 2021 I found a way to cache a environment (not the downloaded packages) on the 3 operating systems.

Is this worth adding to the documentation? https://dev.to/epassaro/caching-anaconda-environments-in-github-actions-5hde

EDIT: I must add this is restricted to the use of Mambaforge, the default Miniconda is a bit more difficult because of folder ownership.

epassaro avatar Nov 19 '21 05:11 epassaro

Hi @epassaro, thanks for the info. Would you be interested in opening a PR that adds an example that illustrates your workflow?

Thanks!

goanpeca avatar Nov 19 '21 18:11 goanpeca

Yes, sure.

epassaro avatar Nov 20 '21 01:11 epassaro

Looks like PR #200 solved this issue, and can be safely closed

avaldebe avatar Jan 11 '22 13:01 avaldebe