Skip to content

Commit 41e875a

Browse files
JusterZhuclaude
andcommitted
fix: test job restores test project directly to avoid Android workload
The test project targets net8.0 (desktop), not net8.0-android, so it doesn't need the Android workload. Restoring only the test .csproj avoids the NETSDK1147 workload error. Co-Authored-By: Claude <noreply@anthropic.com>
1 parent a4bf776 commit 41e875a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
8.0.x
2828
10.0.x
2929
30-
- name: Restore
31-
run: dotnet restore GeneralUpdate.Avalonia.slnx
30+
- name: Restore test project
31+
run: dotnet restore tests/GeneralUpdate.Avalonia.Android.Tests/GeneralUpdate.Avalonia.Android.Tests.csproj
3232

3333
- name: Run unit tests
3434
run: dotnet test tests/GeneralUpdate.Avalonia.Android.Tests/GeneralUpdate.Avalonia.Android.Tests.csproj --configuration Release --no-restore

0 commit comments

Comments
 (0)