3434
3535 - uses : actions/setup-dotnet@v4
3636 with :
37- dotnet-version : ' 8 .0.x'
38- dotnet-quality : ' ga '
37+ dotnet-version : ' 10 .0.x'
38+ dotnet-quality : ' preview '
3939 env :
4040 DOTNET_INSTALL_DIR : ${{ runner.temp }}/.dotnet
4141 DOTNET_ROOT : ${{ runner.temp }}/.dotnet
4444 uses : microsoft/setup-msbuild@v2
4545
4646 - name : Install dotnet-format
47- run : dotnet tool install -g dotnet-format --version "8.3.546805 " --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8 /nuget/v3/index.json
47+ run : dotnet tool install -g dotnet-format --version "9.0.520307 " --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet9 /nuget/v3/index.json
4848
4949 - name : Install wix (locked version)
5050 run : dotnet tool install --global wix --version 6.0.0
6565 - name : Execute unit tests
6666 run : dotnet test --logger "trx;LogFileName=${{ matrix.configuration }}.trx" --results-directory test-results $env:Tests1 $env:Tests2 $env:Tests3
6767 env :
68- Tests1 : ICSharpCode.Decompiler.Tests\bin\${{ matrix.configuration }}\net8 .0-windows\win-x64\ICSharpCode.Decompiler.Tests.dll
69- Tests2 : ILSpy.Tests\bin\${{ matrix.configuration }}\net8 .0-windows\ILSpy.Tests.dll
70- Tests3 : ILSpy.BamlDecompiler.Tests\bin\${{ matrix.configuration }}\net8 .0-windows\win-x64\ILSpy.BamlDecompiler.Tests.dll
68+ Tests1 : ICSharpCode.Decompiler.Tests\bin\${{ matrix.configuration }}\net10 .0-windows\win-x64\ICSharpCode.Decompiler.Tests.dll
69+ Tests2 : ILSpy.Tests\bin\${{ matrix.configuration }}\net10 .0-windows\ILSpy.Tests.dll
70+ Tests3 : ILSpy.BamlDecompiler.Tests\bin\${{ matrix.configuration }}\net10 .0-windows\win-x64\ILSpy.BamlDecompiler.Tests.dll
7171
7272 - name : Upload Test Logs
7373 uses : actions/upload-artifact@v4
@@ -94,19 +94,19 @@ jobs:
9494 git diff --exit-code
9595
9696 - name : Zip ILSpy (framework-dependent)
97- run : 7z a -tzip $env:StagingDirectory\ILSpy_binaries.zip .\ILSpy\bin\${{ matrix.configuration }}\net8 .0-windows\*.dll .\ILSpy\bin\${{ matrix.configuration }}\net8 .0-windows\*.exe .\ILSpy\bin\${{ matrix.configuration }}\net8 .0-windows\*.config .\ILSpy\bin\${{ matrix.configuration }}\net8 .0-windows\*.json .\ILSpy\bin\${{ matrix.configuration }}\net8 .0-windows\*\ILSpy.resources.dll .\ILSpy\bin\${{ matrix.configuration }}\net8 .0-windows\*\ILSpy.ReadyToRun.Plugin.resources.dll
97+ run : 7z a -tzip $env:StagingDirectory\ILSpy_binaries.zip .\ILSpy\bin\${{ matrix.configuration }}\net10 .0-windows\*.dll .\ILSpy\bin\${{ matrix.configuration }}\net10 .0-windows\*.exe .\ILSpy\bin\${{ matrix.configuration }}\net10 .0-windows\*.config .\ILSpy\bin\${{ matrix.configuration }}\net10 .0-windows\*.json .\ILSpy\bin\${{ matrix.configuration }}\net10 .0-windows\*\ILSpy.resources.dll .\ILSpy\bin\${{ matrix.configuration }}\net10 .0-windows\*\ILSpy.ReadyToRun.Plugin.resources.dll
9898
9999 - name : Publish x64/arm64 framework-dependent/self-contained
100100 shell : pwsh
101101 run : .\publish.ps1
102102
103103 - name : Zip ILSpy Release (x64 self-contained)
104104 if : matrix.configuration == 'release'
105- run : 7z a -tzip $env:StagingDirectory\ILSpy_selfcontained_x64.zip .\ILSpy\bin\Release\net8 .0-windows\win-x64\publish\selfcontained\*
105+ run : 7z a -tzip $env:StagingDirectory\ILSpy_selfcontained_x64.zip .\ILSpy\bin\Release\net10 .0-windows\win-x64\publish\selfcontained\*
106106
107107 - name : Zip ILSpy Release (arm64 framework-dependent)
108108 if : matrix.configuration == 'release'
109- run : 7z a -tzip $env:StagingDirectory\ILSpy_binaries_arm64.zip .\ILSpy\bin\Release\net8 .0-windows\win-arm64\publish\fwdependent\*
109+ run : 7z a -tzip $env:StagingDirectory\ILSpy_binaries_arm64.zip .\ILSpy\bin\Release\net10 .0-windows\win-arm64\publish\fwdependent\*
110110
111111 - name : Pack NuGets
112112 if : matrix.configuration == 'release'
0 commit comments