Chocolatey folder cache issue
Hi,
I use the cache to avoid to download and install all chocolatey packages for each build but I made a mistake and the cache for my project is unstable, is it possible to reset it?
Here the project url: https://ci.appveyor.com/project/laedit/vika
Also, to avoid you another request like this, is it possible to reset the cache from the settings tab?
Another question, I use the cache like this with chocolatey package:
- C:\ProgramData\chocolatey\lib
But I need to cache the shim generated by chocolatey in the bin folder, like this:
- C:\ProgramData\chocolatey\bin\OpenCover.Console.exe
And if I forgot one the build is broken, because the real tool path is not in the PATH env variable.
Is there a better way to do it?
Thanks.
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 08 Feb, 2015 10:26 PM
Hi Jeremy,
We've just added "cache dependencies" feature (https://github.com/appveyor/ci/issues/83#issue-51387021), so you can use some file as a dependency for
C:\ProgramData\chocolatey\libcache item, for example:This will mean invalidate
C:\ProgramData\chocolatey\libwheneverappveyor.ymlis changed. Dependency check is performed on build start and cache item won't be restored if dependency changed. At the end of successful build cache item will be updated.2 Posted by Jérémie Bertran... on 09 Feb, 2015 04:56 PM
Excellent, I will try it as soon as I can!
You are the best!
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:53 AM.