How to cache Chocolately installs on GitHub Actions? #3388
Replies: 1 comment
-
Chocolatey packages generally will install software to the default location. So you would have to cache not only the Chocolatey package itself, but any and all locations that the software gets installed to. So instead of caching the installed package and it's software, I'd suggest caching the package file (the There is a snippet here running on Appveyor which caches package files, which may be able to be adapted to Github actions. |
Beta Was this translation helpful? Give feedback.
-
Cross-posting from https://stackoverflow.com/questions/77864421/how-to-cache-choco-downloads-in-github-actions
I have this in GitHub Actions:
From:
It doesn't appear to do anything between runs, any ideas if I'm missing something or how to get this to work?
I see packages get installed in various places, like:
Should I cache the
C:\Program Files
andC:\tools
directories too or something?From the little I saw on this, like #1390, it appears it's not possible on GitHub actions? Or what do you think?
Beta Was this translation helpful? Give feedback.
All reactions