Skip to content

Commit

Permalink
Ensure specific nuget.config is used (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnyrup committed Oct 17, 2018
1 parent 7b38e3f commit 241d95a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions build.cake
Expand Up @@ -47,12 +47,18 @@ Task("Restore-NuGet-Packages")
.IsDependentOn("Clean")
.Does(() =>
{
DotNetCoreRestore();
DotNetCoreRestore(new DotNetCoreRestoreSettings
{
NoCache = true,
ConfigFile = "./nuget.config",
Verbosity = DotNetCoreVerbosity.Normal
});
NuGetRestore("./FluentAssertions.sln", new NuGetRestoreSettings
{
NoCache = true,
Verbosity = NuGetVerbosity.Detailed,
ConfigFile = "./nuget.config",
Verbosity = NuGetVerbosity.Normal,
ToolPath = "./build/nuget.exe"
});
});
Expand Down

0 comments on commit 241d95a

Please sign in to comment.