Skip to content

Fix UIKit thread error in AppInfo and DeviceDisplay platform handlers #148

Fix UIKit thread error in AppInfo and DeviceDisplay platform handlers

Fix UIKit thread error in AppInfo and DeviceDisplay platform handlers #148

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build-and-test:
strategy:
matrix:
os: [macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v4
- name: Install workloads
run: dotnet workload install maui macos
- name: Restore
run: dotnet restore ci.slnf
- name: Build
run: dotnet build ci.slnf -c Release --no-restore
- name: Test
run: dotnet test ci.slnf -c Release --no-build --no-restore
- name: Pack
run: dotnet pack ci.slnf -c Release --no-build -o ./artifacts
- name: Upload NuGet packages
if: matrix.os == 'windows-latest'
uses: actions/upload-artifact@v4
with:
name: nuget-packages
path: ./artifacts/*.nupkg