Merge pull request #50 from BurkusCat/back-button-close-app #42
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 Demo App for CI | |
on: | |
push: | |
branches: [ "main" ] | |
paths-ignore: | |
- "**.md" | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
build-sample-ci: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v2 | |
with: | |
dotnet-version: 7.0.x | |
- name: Install .NET MAUI | |
run: dotnet workload install maui | |
- name: Restore dependencies | |
run: dotnet restore samples\DemoApp\DemoApp.sln | |
- name: Build | |
run: dotnet build samples\DemoApp\DemoApp.sln -c Release | |
- name: Run Unit Tests | |
run: dotnet test tests\DemoApp.UnitTests\DemoApp.UnitTests.csproj --verbosity normal |