Build Cache - Ubuntu Image
During my build, I'm outputting all the dotnet nuget cache locations using:
dotnet nuget locals all --list
Resulting in the following
info : http-cache: /home/appveyor/.local/share/NuGet/v3-cache
info : global-packages: /home/appveyor/.nuget/packages/
info : temp: /tmp/NuGetScratch
My appveyor.yml has a cache section
cache:
# NuGet packages cache
- '~/.local/share/NuGet/v3-cache -> **\*.csproj'
But when running the build I see:
Updating build cache...
Cache entry not found: /home/appveyor/projects/my-project/~/.local/share/NuGet/v3-cache
Build completed
How can I get appveyor to cache the /home/appveyor/.local/share/NuGet/v3-cache folder?
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

1 Posted by Wasa Pleshakov on 06 Jul, 2018 05:24 AM
Noelle,
As you can see in the output special sign
~was not replaces with the actual path to home dir for some reason. Please try to replace~sign with$HOMEvariable:Ilya Finkelshteyn closed this discussion on 05 Sep, 2018 09:00 PM.