diff --git a/ci/windows/NuGet.config b/ci/windows/NuGet.config new file mode 100644 index 0000000000..6873eb9592 --- /dev/null +++ b/ci/windows/NuGet.config @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/Tools/NuGet.exe b/ci/windows/NuGet.exe similarity index 100% rename from src/Tools/NuGet.exe rename to ci/windows/NuGet.exe diff --git a/ci/windows/run.ps1 b/ci/windows/run.ps1 index 2880a3c0e3..2b3d1ec49b 100644 --- a/ci/windows/run.ps1 +++ b/ci/windows/run.ps1 @@ -30,7 +30,8 @@ if ([string]::IsNullOrEmpty($Config)) { $sln = "$Root\ci\windows\Windows.sln" $packagesDir = "$Root\src\packages\" $testResultsDir = "$Root\artifacts\test\" -$samplesDir = "$root\src\DotVVM.Samples.Tests" +$samplesDir = "$Root\src\DotVVM.Samples.Tests\" +$ciDir = "$Root\ci\windows\" Write-Host "ROOT=$Root" Write-Host "SLN=$sln" @@ -104,7 +105,7 @@ if ($NoNpmBuild -ne $true) { if ($NoSlnRestore -ne $true) { Ensure-Command "sln restore" { Set-Location $Root - & "$Root\src\Tools\NuGet.exe" restore $sln -PackagesDirectory $packagesDir + & "$ciDir\NuGet.exe" restore $sln -PackagesDirectory $packagesDir -ConfigFile "$ciDir\NuGet.config" dotnet restore $sln --packages $packagesDir } }