-
Notifications
You must be signed in to change notification settings - Fork 151
Create the Yml file #206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create the Yml file #206
Changes from 2 commits
7b8ad7c
ee183d2
02ae15d
29bcd0c
ec317b0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,48 @@ | ||
| # This workflow will build a .NET project | ||
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net | ||
|
|
||
| name: .NET | ||
|
|
||
| on: | ||
| push: | ||
| branches: [ "master" ] | ||
| pull_request: | ||
| branches: [ "master" ] | ||
|
|
||
| jobs: | ||
| build: | ||
|
|
||
| runs-on: windows-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| - name: Setup .NET 8 | ||
| uses: actions/setup-dotnet@v4 | ||
| with: | ||
| dotnet-version: 8.0.x | ||
| - name: Setup .NET 9 | ||
| uses: actions/setup-dotnet@v4 | ||
| with: | ||
| dotnet-version: 9.0.x | ||
| - name: Install Maui | ||
| run: dotnet workload install maui | ||
| - name: Install Wasm Tools .NET 8 | ||
| run: dotnet workload install wasm-tools-net8 | ||
| - name: Install Wasm Tools .NET 9 | ||
| run: dotnet workload install wasm-tools | ||
| - name: Build Server NET 8 | ||
| run: dotnet build ./Blazor-Server-Demos/Blazor_Server_Demos_NET8.csproj | ||
| - name: Build Server NET 9 | ||
| run: dotnet build ./Blazor-Server-Demos/Blazor_Server_Demos_NET9.csproj | ||
| - name: Build WebApp NET 8 | ||
| run: dotnet build ./Blazor-WebApp-Demos/Blazor_WebApp_Demos/Blazor_WebApp_Demos.csproj | ||
| - name: Build WebApp NET 9 | ||
| run: dotnet build ./Blazor-WebApp-Demos/Blazor_WebApp_Demos/Blazor_WebApp_Demos_NET9.csproj | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. webapp also not used.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. okey, I'll remove |
||
| - name: Build WASM NET 8 | ||
| run: dotnet build ./Blazor-WASM-Demos/Blazor_WASM_Demos_NET8.csproj | ||
| - name: Build WASM NET 9 | ||
| run: dotnet build ./Blazor-WASM-Demos/Blazor_WASM_Demos_NET9.csproj | ||
| - name: Build MAUI NET 8 | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. seems net 10 missing in this file.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Now add the 10 for server and WASM and Build is succeed |
||
| run: dotnet build ./Blazor-MAUI-Demos/Blazor_MAUI_Demos_NET8.csproj | ||
| - name: Build MAUI NET 9 | ||
| run: dotnet build ./Blazor-MAUI-Demos/Blazor_MAUI_Demos_NET9.csproj | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we didn't maintain maui in this project.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okey