added DOTNET_MULTILEVEL_LOOKUP (#1417)

This commit is contained in:
Darii Nurgaleev
2020-08-15 19:28:58 +07:00
committed by GitHub
parent 547991fbfc
commit 5cf25b5baa
2 changed files with 4 additions and 0 deletions

View File

@@ -100,5 +100,6 @@ done
# Additional FTE will just copy to ~/.dotnet/NuGet which provides no benefit on a fungible machine
setEtcEnvironmentVariable DOTNET_SKIP_FIRST_TIME_EXPERIENCE 1
setEtcEnvironmentVariable DOTNET_NOLOGO 1
setEtcEnvironmentVariable DOTNET_MULTILEVEL_LOOKUP 0
prependEtcEnvironmentPath /home/runner/.dotnet/tools
echo 'export PATH="$PATH:$HOME/.dotnet/tools"' | tee -a /etc/skel/.bashrc

View File

@@ -7,6 +7,9 @@
# ensure temp
New-Item -Path C:\Temp -Force -ItemType Directory
# Set environment variables
Set-SystemVariable -SystemVariable DOTNET_MULTILEVEL_LOOKUP -Value "0"
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor "Tls12"
$templates = @(