mirror of
https://github.com/actions/runner-images.git
synced 2025-12-14 22:05:17 +00:00
added DOTNET_MULTILEVEL_LOOKUP (#1417)
This commit is contained in:
@@ -100,5 +100,6 @@ done
|
|||||||
# Additional FTE will just copy to ~/.dotnet/NuGet which provides no benefit on a fungible machine
|
# 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_SKIP_FIRST_TIME_EXPERIENCE 1
|
||||||
setEtcEnvironmentVariable DOTNET_NOLOGO 1
|
setEtcEnvironmentVariable DOTNET_NOLOGO 1
|
||||||
|
setEtcEnvironmentVariable DOTNET_MULTILEVEL_LOOKUP 0
|
||||||
prependEtcEnvironmentPath /home/runner/.dotnet/tools
|
prependEtcEnvironmentPath /home/runner/.dotnet/tools
|
||||||
echo 'export PATH="$PATH:$HOME/.dotnet/tools"' | tee -a /etc/skel/.bashrc
|
echo 'export PATH="$PATH:$HOME/.dotnet/tools"' | tee -a /etc/skel/.bashrc
|
||||||
|
|||||||
@@ -7,6 +7,9 @@
|
|||||||
# ensure temp
|
# ensure temp
|
||||||
New-Item -Path C:\Temp -Force -ItemType Directory
|
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"
|
[Net.ServicePointManager]::SecurityProtocol = [Net.ServicePointManager]::SecurityProtocol -bor "Tls12"
|
||||||
|
|
||||||
$templates = @(
|
$templates = @(
|
||||||
|
|||||||
Reference in New Issue
Block a user