File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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 : Setup .NET 10
28+ uses : actions/setup-dotnet@v4
29+ with :
30+ dotnet-version : 10.0.x
31+ - name : Install Wasm Tools .NET 8
32+ run : dotnet workload install wasm-tools-net8
33+ - name : Install Wasm Tools .NET 9
34+ run : dotnet workload install wasm-tools-net9
35+ - name : Install Wasm Tools .NET 10
36+ run : dotnet workload install wasm-tools
37+ - name : Build Server NET 8
38+ run : dotnet build ./Blazor-Server-Demos/Blazor_Server_Demos_NET8.csproj
39+ - name : Build Server NET 9
40+ run : dotnet build ./Blazor-Server-Demos/Blazor_Server_Demos_NET9.csproj
41+ - name : Build Server NET 10
42+ run : dotnet build ./Blazor-Server-Demos/Blazor_Server_Demos_NET10.csproj
43+ - name : Build WASM NET 8
44+ run : dotnet build ./Blazor-WASM-Demos/Blazor_WASM_Demos/Blazor_WASM_Demos_NET8.csproj
45+ - name : Build WASM NET 9
46+ run : dotnet build ./Blazor-WASM-Demos/Blazor_WASM_Demos/Blazor_WASM_Demos_NET9.csproj
47+ - name : Build WASM NET 10
48+ run : dotnet build ./Blazor-WASM-Demos/Blazor_WASM_Demos/Blazor_WASM_Demos_NET10.csproj
You can’t perform that action at this time.
0 commit comments