From 46eafc9d64a7f2147b49046f51e7fdd28c7e391f Mon Sep 17 00:00:00 2001 From: Oleksandr Poliakov <31327136+sanych-sun@users.noreply.github.com> Date: Fri, 12 Apr 2024 13:49:01 -0700 Subject: [PATCH] Use net8.0 SDK for build script. (#1308) --- evergreen/evergreen.yml | 1 - evergreen/install-dotnet.sh | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/evergreen/evergreen.yml b/evergreen/evergreen.yml index 880292a6258..cf4f521212a 100644 --- a/evergreen/evergreen.yml +++ b/evergreen/evergreen.yml @@ -2120,7 +2120,6 @@ task_groups: setup_group: - func: fetch-source - func: prepare-resources - - func: install-dotnet - command: subprocess.exec params: binary: bash diff --git a/evergreen/install-dotnet.sh b/evergreen/install-dotnet.sh index 14fb49216ed..2e79576d4b3 100644 --- a/evergreen/install-dotnet.sh +++ b/evergreen/install-dotnet.sh @@ -8,10 +8,10 @@ if [[ $OS =~ [Ww]indows.* ]]; then echo "Downloading Windows .NET SDK installer into $DOTNET_SDK_PATH folder..." curl -Lfo "$DOTNET_SDK_PATH"/dotnet-install.ps1 https://dot.net/v1/dotnet-install.ps1 echo "Installing .NET LTS SDK..." - powershell.exe "$DOTNET_SDK_PATH"/dotnet-install.ps1 -Channel 6.0 -InstallDir "$DOTNET_SDK_PATH" -NoPath + powershell.exe "$DOTNET_SDK_PATH"/dotnet-install.ps1 -Channel 8.0 -InstallDir "$DOTNET_SDK_PATH" -NoPath else echo "Downloading .NET SDK installer into $DOTNET_SDK_PATH folder..." curl -Lfo "$DOTNET_SDK_PATH"/dotnet-install.sh https://dot.net/v1/dotnet-install.sh echo "Installing .NET LTS SDK..." - bash "$DOTNET_SDK_PATH"/dotnet-install.sh --channel 6.0 --install-dir "$DOTNET_SDK_PATH" --no-path + bash "$DOTNET_SDK_PATH"/dotnet-install.sh --channel 8.0 --install-dir "$DOTNET_SDK_PATH" --no-path fi