diff options
author | dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com> | 2020-09-26 01:52:35 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-26 01:52:35 +0300 |
commit | 9cfe9cd2feb24b001267fc4c273c3f2335108559 (patch) | |
tree | 36a6826c4218303f33b88bebf81ce19c2e0a524d /eng/common/tools.ps1 | |
parent | ed3d420110e3a3136cf9679b1651fcc8224490f5 (diff) |
Update dependencies from https://github.com/dotnet/arcade build 20200924.4 (#1509)
[master] Update dependencies from dotnet/arcade
Diffstat (limited to 'eng/common/tools.ps1')
-rw-r--r-- | eng/common/tools.ps1 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eng/common/tools.ps1 b/eng/common/tools.ps1 index 60066083b..9014e0625 100644 --- a/eng/common/tools.ps1 +++ b/eng/common/tools.ps1 @@ -540,13 +540,15 @@ function GetDefaultMSBuildEngine() { function GetNuGetPackageCachePath() { if ($env:NUGET_PACKAGES -eq $null) { - # Use local cache on CI to ensure deterministic build, + # Use local cache on CI to ensure deterministic build. + # Avoid using the http cache as workaround for https://github.com/NuGet/Home/issues/3116 # use global cache in dev builds to avoid cost of downloading packages. # For directory normalization, see also: https://github.com/NuGet/Home/issues/7968 if ($useGlobalNuGetCache) { $env:NUGET_PACKAGES = Join-Path $env:UserProfile '.nuget\packages\' } else { $env:NUGET_PACKAGES = Join-Path $RepoRoot '.packages\' + $env:RESTORENOCACHE = $true } } |