Removing dotnet-core from the NuGet.Config and add --disable-parallel to RestoreTestPackages. It was causing issues when reading global.json in Ubuntu and Fedora
This commit is contained in:
parent
3e9a3d2d95
commit
ca326cb4ec
1 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
CleanNuGetTempCache();
|
||||
|
||||
var dotnet = DotNetCli.Stage2;
|
||||
dotnet.Restore("--verbosity", "verbose")
|
||||
dotnet.Restore("--verbosity", "verbose", "--disable-parallel")
|
||||
.WorkingDirectory(Path.Combine(c.BuildContext.BuildDirectory, "TestAssets", "TestPackages"))
|
||||
.Execute()
|
||||
.EnsureSuccessful();
|
||||
|
@ -101,7 +101,7 @@ namespace Microsoft.DotNet.Cli.Build
|
|||
|
||||
var dotnet = DotNetCli.Stage2;
|
||||
dotnet.Restore(
|
||||
"--verbosity", "verbose",
|
||||
"--verbosity", "verbose", "--disable-parallel",
|
||||
"--fallbacksource", Dirs.TestPackages)
|
||||
.WorkingDirectory(Path.Combine(c.BuildContext.BuildDirectory, "TestAssets", "TestProjects"))
|
||||
.Execute()
|
||||
|
|
Loading…
Reference in a new issue