CI: restore and build MAUI project with win-x64 runtime identifier to ensure runtime packs are restored
Some checks failed
Build / build (pull_request) Failing after 37s

This commit is contained in:
Tim Krampitz
2026-10-04 17:53:54 +02:00
parent 2d0687a083
commit 8b5dd6f45d

View File

@@ -23,7 +23,8 @@ jobs:
run: dotnet workload install maui run: dotnet workload install maui
- name: Restore - name: Restore
run: dotnet restore SlipItIn.slnx # Restore with a runtime identifier so the Windows MAUI runtime packs are downloaded
run: dotnet restore SlipItIn.slnx --runtime win-x64
- name: Build Server-Stack - name: Build Server-Stack
run: | run: |
@@ -34,7 +35,8 @@ jobs:
dotnet build SlipItIn.AppHost/SlipItIn.AppHost.csproj --no-restore --configuration Release dotnet build SlipItIn.AppHost/SlipItIn.AppHost.csproj --no-restore --configuration Release
- name: Build MAUI Client - name: Build MAUI Client
run: dotnet build SlipItIn/SlipItIn.csproj --no-restore --configuration Debug # Build the MAUI project for the Windows runtime identifier so the proper runtime packs are used
run: dotnet build SlipItIn/SlipItIn.csproj --no-restore --configuration Debug -r win-x64
- name: Run Server Tests - name: Run Server Tests
run: dotnet test SlipItIn.Server.Tests/SlipItIn.Server.Tests.csproj --no-restore --configuration Release run: dotnet test SlipItIn.Server.Tests/SlipItIn.Server.Tests.csproj --no-restore --configuration Release