Skip to content

Commit

Permalink
Use net8.0 SDK for build script. (#1308)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanych-sun committed Apr 12, 2024
1 parent ef28efc commit 46eafc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion evergreen/evergreen.yml
Expand Up @@ -2120,7 +2120,6 @@ task_groups:
setup_group:
- func: fetch-source
- func: prepare-resources
- func: install-dotnet
- command: subprocess.exec
params:
binary: bash
Expand Down
4 changes: 2 additions & 2 deletions evergreen/install-dotnet.sh
Expand Up @@ -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

0 comments on commit 46eafc9

Please sign in to comment.