Skip to content

Commit

Permalink
gwegwg
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDorier committed Dec 18, 2024
1 parent ee9f7d5 commit 03caf63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Build/CI/install-env.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#!/bin/bash

whereis dotnet
sudo apt remove --purge dotnet*
sudo apt remove --purge aspnetcore*
rm -rf /usr/lib/dotnet
sudo ln "$HOME/.dotnet/dotnet" /usr/lib/dotnet

wget https://dot.net/v1/dotnet-install.sh -O dotnet-install.sh

# https://dotnetcli.azureedge.net/dotnet/release-metadata/releases-index.json
chmod +x ./dotnet-install.sh
./dotnet-install.sh --version 9.0.101 --channel LTS

rm -rf /usr/lib/dotnet
sudo ln "$HOME/.dotnet/dotnet" /usr/lib/dotnet

[[ "${ADDITIONAL_RUNTIME:-}" ]] \
&& echo "Additional Runtime needed: $ADDITIONAL_RUNTIME" \
&& ./dotnet-install.sh --version "$ADDITIONAL_RUNTIME" --runtime dotnet --channel LTS

0 comments on commit 03caf63

Please sign in to comment.