Skip to content

Update to .NET 9

Update to .NET 9 #10

Workflow file for this run

name: Build Sample App for CI
on:
push:
branches: [ "main" ]
paths-ignore:
- "**.md"
pull_request:
branches: [ "main" ]
env:
DOTNET_VERSION: '9.0.x' # The .NET SDK version to use
jobs:
build-sample-ci:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: ${{ env.DOTNET_VERSION }}
- name: Install .NET MAUI Workload
run: dotnet workload restore samples\Plugin.Maui.Pedometer.Sample.sln
- name: Build
run: dotnet build samples\Plugin.Maui.Pedometer.Sample.sln -c Release