fix: conditionally include iOS/macOS targets only on macOS

- Add MSBuild condition to only include net8.0-ios and net8.0-maccatalyst on macOS
- On Linux/Windows, only net8.0 is included as a target framework
- Fixes GitHub dependency submission failing on Ubuntu runners
- Remove wasm-tools installation from test workflow (no longer needed)

This fixes the root cause of NETSDK1147 errors on non-macOS platforms.
This commit is contained in:
2025-11-19 00:37:27 +02:00
parent 09d8be41e3
commit 5e0fb1d033
2 changed files with 4 additions and 4 deletions

View File

@@ -24,9 +24,6 @@ jobs:
with:
dotnet-version: '8.0.x'
- name: Install WebAssembly Tools workload
run: dotnet workload install wasm-tools-net8
- name: Restore dependencies
run: dotnet restore tests/HihaArvio.Tests/HihaArvio.Tests.csproj /p:TargetFrameworks=net8.0