Update dotnet monorepo to v9 (major) #170
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build | |
on: | |
push: | |
paths-ignore: | |
- '**/*' | |
- '!.github/workflows/build.yml' | |
- '!src/**/*.csproj' | |
- '!src/**/*.cs' | |
branches: | |
- '*' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install .NET MAUI workload | |
run: | | |
dotnet workload install maui --source https://api.nuget.org/v3/index.json | |
dotnet workload restore --project AppCenterExtensions.Maui.csproj | |
working-directory: src/AppCenterExtensions.Maui | |
- name: Build with dotnet | |
run: dotnet build --configuration Release | |
working-directory: src | |
- name: Test with dotnet | |
run: dotnet test --configuration Release --no-build | |
working-directory: src |