File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow will build a .NET project
2+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
3+
4+ name : .NET
5+
6+ on :
7+ push :
8+ branches : [ "master" ]
9+ pull_request :
10+ branches : [ "master" ]
11+
12+ jobs :
13+ build :
14+
15+ runs-on : windows-latest
16+
17+ steps :
18+ - uses : actions/checkout@v4
19+ - name : Setup .NET 8
20+ uses : actions/setup-dotnet@v4
21+ with :
22+ dotnet-version : 8.0.x
23+ - name : Setup .NET 9
24+ uses : actions/setup-dotnet@v4
25+ with :
26+ dotnet-version : 9.0.x
27+ - name : Install Maui
28+ run : dotnet workload install maui
29+ - name : Install Wasm Tools .NET 8
30+ run : dotnet workload install wasm-tools-net8
31+ - name : Install Wasm Tools .NET 9
32+ run : dotnet workload install wasm-tools
33+ - name : Build Server NET 8
34+ run : dotnet build ./Blazor-Server-Demos/Blazor_Server_Demos_NET8.csproj
35+ - name : Build Server NET 9
36+ run : dotnet build ./Blazor-Server-Demos/Blazor_Server_Demos_NET9.csproj
37+ - name : Build WASM NET 8
38+ run : dotnet build ./Blazor-WASM-Demos/Blazor_WASM_Demos/Blazor_WASM_Demos_NET8.csproj
39+ - name : Build WASM NET 9
40+ run : dotnet build ./Blazor-WASM-Demos/Blazor_WASM_Demos/Blazor_WASM_Demos_NET9.csproj
You can’t perform that action at this time.
0 commit comments