Skip to content

Commit 6a677ae

Browse files
committed
fix: Use dotnet workload restore for all required workloads
- Changed from manual workload install to workload restore - Automatically installs all workloads required by the solution - Fixes NETSDK1147 error for android and wasm-tools-net8
1 parent f9d9f3f commit 6a677ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ jobs:
4040
echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
4141
fi
4242
43-
# 4. Install MAUI workloads (required for Lifter.Maui)
44-
- name: Install MAUI workloads
45-
run: dotnet workload install maui-android maui-ios maui-maccatalyst maui-windows
43+
# 4. Restore workloads (required for Lifter.Maui and Lifter.Blazor)
44+
- name: Restore workloads
45+
run: dotnet workload restore Lifter.Libraries.sln
4646

4747
# 5. Restore dependencies
4848
- name: Restore dependencies

0 commit comments

Comments
 (0)