File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,13 +17,16 @@ jobs:
1717 steps :
1818 - name : Install WASM experimental workload
1919 run : dotnet workload install wasm-experimental
20+ - name : Install WASM tools workload
21+ run : dotnet workload install wasm-tools
2022 - uses : actions/checkout@v4.2.2
2123 with :
2224 fetch-depth : 0
2325 - name : Setup .NET
2426 uses : actions/setup-dotnet@v4
2527 with :
26- dotnet-version : 9.0.x
28+ dotnet-version : 10.0.x
29+ include-prerelease : true
2730 - name : Install GitVersioning
2831 run : dotnet tool install --global nbgv
2932 - name : Set version
3235 - name : Restore dependencies
3336 run : dotnet restore
3437 - name : Build
35- run : dotnet build --no-restore
38+ run : dotnet build --configuration Release -- no-restore
3639 - name : Test
3740 run : dotnet test --no-build --verbosity normal
3841 - name : Pack Abies Only
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.WebAssembly" >
22 <PropertyGroup >
33 <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
4- <PublishTrimmed >false </PublishTrimmed >
5-
4+ <PublishTrimmed >true </PublishTrimmed >
5+ < TrimMode >full</ TrimMode >
66 </PropertyGroup >
77 <ItemGroup >
88 <ProjectReference Include =" ..\Abies\Abies.csproj" />
Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk.WebAssembly" >
22 <PropertyGroup >
33 <AllowUnsafeBlocks >true</AllowUnsafeBlocks >
4- <PublishTrimmed >false </PublishTrimmed >
5-
4+ <PublishTrimmed >true </PublishTrimmed >
5+ < TrimMode >full</ TrimMode >
66 </PropertyGroup >
77 <ItemGroup >
88 <ProjectReference Include =" ..\Abies\Abies.csproj" />
Original file line number Diff line number Diff line change 11<Project >
22 <PropertyGroup >
3- <TargetFramework >net9 .0</TargetFramework >
3+ <TargetFramework >net10 .0</TargetFramework >
44
5- <!-- Example: Set the C# language version to 9.0 for all projects -->
5+ <!-- Example: Set the C# language version to latest for all projects -->
66 <LangVersion >latest</LangVersion >
77 <ImplicitUsings >enable</ImplicitUsings >
88 <!-- Example: Enable nullable reference types for all projects -->
You can’t perform that action at this time.
0 commit comments