File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -75,15 +75,11 @@ jobs:
7575 - uses : ./.github/actions/install-wasi-sdk
7676 if : matrix.lang == 'c' || (matrix.lang == 'csharp' && matrix.os == 'windows-latest')
7777
78- - run : |
79- curl.exe -LO https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.ps1
80- powershell -File dotnet-install.ps1 -Channel 8.0.1xx -Verbose
81- echo DOTNET_ROOT=$LOCALAPPDATA'\Microsoft\dotnet' >> $GITHUB_ENV
82- export DOTNET_ROOT=$LOCALAPPDATA\\Microsoft\\dotnet
83- echo $LOCALAPPDATA'\Microsoft\dotnet' >> $GITHUB_PATH
84- echo $LOCALAPPDATA'\Microsoft\dotnet\tools' >> $GITHUB_PATH
85- $LOCALAPPDATA/Microsoft/dotnet/dotnet --info
86- if: matrix.os == 'windows-latest' && matrix.lang == 'csharp'
78+ - name : Setup .NET
79+ uses : actions/setup-dotnet@v4
80+ with :
81+ dotnet-version : ' 9.x'
82+ if : matrix.lang == 'csharp'
8783
8884 # Hacky work-around for https://github.com/dotnet/runtime/issues/80619
8985 - run : dotnet new console -o /tmp/foo
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ impl CSProjectLLVMBuilder {
6565 "<Project Sdk=\" Microsoft.NET.Sdk\" >
6666
6767 <PropertyGroup>
68- <TargetFramework>net8 .0</TargetFramework>
68+ <TargetFramework>net9 .0</TargetFramework>
6969 <LangVersion>preview</LangVersion>
7070 <RootNamespace>{name}</RootNamespace>
7171 <ImplicitUsings>enable</ImplicitUsings>
You can’t perform that action at this time.
0 commit comments