Skip to content

Commit 46eafc9

Browse files
authored
Use net8.0 SDK for build script. (#1308)
1 parent ef28efc commit 46eafc9

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

evergreen/evergreen.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2120,7 +2120,6 @@ task_groups:
21202120
setup_group:
21212121
- func: fetch-source
21222122
- func: prepare-resources
2123-
- func: install-dotnet
21242123
- command: subprocess.exec
21252124
params:
21262125
binary: bash

evergreen/install-dotnet.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ if [[ $OS =~ [Ww]indows.* ]]; then
88
echo "Downloading Windows .NET SDK installer into $DOTNET_SDK_PATH folder..."
99
curl -Lfo "$DOTNET_SDK_PATH"/dotnet-install.ps1 https://dot.net/v1/dotnet-install.ps1
1010
echo "Installing .NET LTS SDK..."
11-
powershell.exe "$DOTNET_SDK_PATH"/dotnet-install.ps1 -Channel 6.0 -InstallDir "$DOTNET_SDK_PATH" -NoPath
11+
powershell.exe "$DOTNET_SDK_PATH"/dotnet-install.ps1 -Channel 8.0 -InstallDir "$DOTNET_SDK_PATH" -NoPath
1212
else
1313
echo "Downloading .NET SDK installer into $DOTNET_SDK_PATH folder..."
1414
curl -Lfo "$DOTNET_SDK_PATH"/dotnet-install.sh https://dot.net/v1/dotnet-install.sh
1515
echo "Installing .NET LTS SDK..."
16-
bash "$DOTNET_SDK_PATH"/dotnet-install.sh --channel 6.0 --install-dir "$DOTNET_SDK_PATH" --no-path
16+
bash "$DOTNET_SDK_PATH"/dotnet-install.sh --channel 8.0 --install-dir "$DOTNET_SDK_PATH" --no-path
1717
fi

0 commit comments

Comments
 (0)