NuGet 6.9 renamed no-cache
to no-http-cache
and deprecated the old setting name
#4412
Closed
2 tasks done
Prerequisites
Cake runner
Cake .NET Tool
Cake version
5.0
Operating system
Linux, Windows, macOS, FreeBSD
Operating system architecture
x64
CI Server
GitHub Actions
What are you seeing?
In Nuget 6.9
no-cache
was renamed tono-http-cache
and the old setting was deprecated - see e.g. NuGet/Home#9180 for more information.Using cake 5 with
NoCache
set to true - https://github.com/nunit/NUnit.Cake.Recipe/actions/runs/12497571350/job/34870318505then one gets a warning about this deprecation in the logs
What is expected?
I don't know if cake has any idea of the underlying version of NuGet, but if it don't then perhaps it should be possible to set both
NoCache
and a newNoHttpCache
in a period to support both old and new clients until NuGet removes the old setting.Steps to Reproduce
See GitHub Action runs in https://github.com/nunit/NUnit.Cake.Recipe/ - e.g. https://github.com/nunit/NUnit.Cake.Recipe/actions/runs/12497582973/job/34870345197
Output log
From https://github.com/nunit/NUnit.Cake.Recipe/actions/runs/12497582973/job/34870345197
The text was updated successfully, but these errors were encountered: