Skip to content

Commit

Permalink
build(Makefile): add installation steps for dotnet-sdk-8.0 to support…
Browse files Browse the repository at this point in the history
… additional version of .NET SDK on non-Darwin systems
  • Loading branch information
leoli0605 committed Jul 26, 2024
1 parent 1d4e587 commit c825680
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,16 @@ ifeq ($(shell uname),Darwin)
@brew tap isen-ng/dotnet-sdk-versions
@brew install --cask dotnet-sdk6-0-400
else
@sudo apt update
@sudo apt install software-properties-common
@sudo apt-get update
@$(shell source /etc/os-release && \
wget https://packages.microsoft.com/config/$ID/$VERSION_ID/packages-microsoft-prod.deb -O packages-microsoft-prod.deb && \
sudo dpkg -i packages-microsoft-prod.deb && \
rm packages-microsoft-prod.deb)
@sudo apt-get update
@sudo apt-get install -y dotnet-sdk-6.0
@sudo apt-get install -y dotnet-sdk-8.0
endif
endif

Expand Down

0 comments on commit c825680

Please sign in to comment.