feat: install .NET LTS instead of STS (#5047)

Switch to the LTS .NET release channel to allow .NET 8 to be installed. STS restricts to .NET 7.
This commit is contained in:
Adam Ralph 2023-12-27 09:26:05 +00:00 committed by GitHub
parent 3ed561c0c5
commit 5a175c2e27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,4 +4,4 @@ set -euo pipefail
curl --retry 5 --retry-delay 5 -sLO https://dot.net/v1/dotnet-install.sh
chmod +x dotnet-install.sh
./dotnet-install.sh --install-dir /usr/share/dotnet -channel STS -version latest
./dotnet-install.sh --install-dir /usr/share/dotnet -channel LTS -version latest