Skip to content

fix: fix OnBackButtonPressedAction to return bool #71

fix: fix OnBackButtonPressedAction to return bool

fix: fix OnBackButtonPressedAction to return bool #71

name: Windows (dotnet build and test)
on:
push:
branches: [develop]
pull_request:
branches: [develop]
jobs:
os-tests:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: |
7.0.x
8.0.x
- name: Install .NET MAUI workload
run: dotnet workload install maui
- name: Set up JDK
uses: actions/setup-java@v2
with:
distribution: 'adopt'
java-version: '11'
- name: Restore dependencies
run: |
dotnet restore ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln
dotnet restore ./src/CSharp/MauiComponents/EasyMicroservices.UI.MauiComponents.sln
dotnet restore ./src/CSharp/BlazorComponents/EasyMicroservices.UI.BlazorComponents.sln
- name: Build
run: |
dotnet build ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --no-restore
dotnet build ./src/CSharp/MauiComponents/EasyMicroservices.UI.MauiComponents.sln --no-restore
dotnet build ./src/CSharp/BlazorComponents/EasyMicroservices.UI.BlazorComponents.sln --no-restore
- name: Test
run: |
dotnet test ./src/CSharp/Cores/EasyMicroservices.UI.Cores.sln --no-build --verbosity normal
dotnet test ./src/CSharp/MauiComponents/EasyMicroservices.UI.MauiComponents.sln --no-build --verbosity normal
dotnet test ./src/CSharp/BlazorComponents/EasyMicroservices.UI.BlazorComponents.sln --no-build --verbosity normal