Files
2025-09-13 13:50:39 +02:00

44 lines
988 B
YAML

name: Net.Maui.Extensions CI Pipeline
on:
pull_request:
branches:
- master
paths:
- Net.Maui.Extensions/**
- ".github/workflows/ci.yaml"
jobs:
build:
strategy:
matrix:
targetplatform: [x64]
runs-on: windows-latest
env:
Solution_Path: Net.Maui.Extensions.slnx
Source_Project_Path: Net.Maui.Extensions\Net.Maui.Extensions.csproj
Actions_Allow_Unsecure_Commands: true
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v2.0.0
- name: Restore Project
run: msbuild $env:Solution_Path /t:Restore /p:Configuration=$env:Configuration /p:RuntimeIdentifier=$env:RuntimeIdentifier
env:
Configuration: Debug
RuntimeIdentifier: win-${{ matrix.targetplatform }}