Skip to content

Merge pull request #25 from exendahal/fix/remove_ps_file #8

Merge pull request #25 from exendahal/fix/remove_ps_file

Merge pull request #25 from exendahal/fix/remove_ps_file #8

name: Build MAUI APP
on:
push:
branches:
- "main"
paths-ignore:
- "**.md"
pull_request:
branches:
- "main"
env:
BUILD_CONFIGURATION: Release
DOTNET_VERSION: 8.0.x
CSPROJ_TO_BUILD: DemoApp.csproj
jobs:
build-sample-ci:
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET ${{ env.DOTNET_VERSION }}
uses: actions/setup-dotnet@v2
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Install .NET MAUI Workload
run: dotnet workload install maui
- name: Restore dependencies
run: dotnet restore samples\${{ env.CSPROJ_TO_BUILD }}
- name: Build Demo App ${{ env.CSPROJ_TO_BUILD }}
run: dotnet build samples\${{ env.CSPROJ_TO_BUILD }} -c ${{ env.BUILD_CONFIGURATION }} -f:net8.0-android