aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorras0219 <533828+ras0219@users.noreply.github.com>2020-07-09 15:14:05 -0700
committerGitHub <noreply@github.com>2020-07-09 15:14:05 -0700
commita571c8ecc0ca5c576c8a2811cd57fe294f3bee6b (patch)
tree4824c6c1373bdb93c3a7074a8c1dbc26241324cc /scripts
parent513cac2f62ef637fabc7173f156955bac8482cb9 (diff)
downloadvcpkg-a571c8ecc0ca5c576c8a2811cd57fe294f3bee6b.tar.gz
vcpkg-a571c8ecc0ca5c576c8a2811cd57fe294f3bee6b.zip
[vcpkg] Move default binary cache from `$root/archives` to user-wide directory (#12256)
* [vcpkg] Move default binary cache from `$root/archives` to user-wide directory Teach nuget/nugetconfig binary sources to use read/write. * [vcpkg] Reformat Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/azure-pipelines/end-to-end-tests.ps14
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/azure-pipelines/end-to-end-tests.ps1 b/scripts/azure-pipelines/end-to-end-tests.ps1
index eccefd544..b0e447657 100644
--- a/scripts/azure-pipelines/end-to-end-tests.ps1
+++ b/scripts/azure-pipelines/end-to-end-tests.ps1
@@ -106,7 +106,7 @@ if (-not $IsLinux -and -not $IsMacOS)
Refresh-TestRoot
# Test simple installation
-$args = $commonArgs + @("install","rapidjson","--binarycaching","--x-binarysource=clear;files,$ArchiveRoot,write;nuget,$NuGetRoot,upload")
+$args = $commonArgs + @("install","rapidjson","--binarycaching","--x-binarysource=clear;files,$ArchiveRoot,write;nuget,$NuGetRoot,readwrite")
$CurrentTest = "./vcpkg $($args -join ' ')"
Write-Host $CurrentTest
./vcpkg @args
@@ -164,7 +164,7 @@ Throw-IfFailed
Remove-Item -Recurse -Force $NuGetRoot -ErrorAction SilentlyContinue
mkdir $NuGetRoot
-$args = $commonArgs + @("install","rapidjson","tinyxml","--binarycaching","--x-binarysource=clear;nuget,$NuGetRoot2;nuget,$NuGetRoot,upload")
+$args = $commonArgs + @("install","rapidjson","tinyxml","--binarycaching","--x-binarysource=clear;nuget,$NuGetRoot2;nuget,$NuGetRoot,write")
$CurrentTest = "./vcpkg $($args -join ' ')"
Write-Host $CurrentTest
./vcpkg @args