Skip to content

Merge pull request #5 from Ali-YousefiTelori/develop #14

Merge pull request #5 from Ali-YousefiTelori/develop

Merge pull request #5 from Ali-YousefiTelori/develop #14

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
- name: Install Maui workloads
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/Maui/EasyMicroservices.UI.MauiKits.sln
- name: Build
run: dotnet build ./src/CSharp/Maui/EasyMicroservices.UI.MauiKits.sln --no-restore
- name: Test
run: dotnet test ./src/CSharp/Maui/EasyMicroservices.UI.MauiKits.sln --no-build --verbosity normal