Skip to content

Commit 6f9cac0

Browse files
committed
add workload restore
1 parent 07d7508 commit 6f9cac0

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/publish-packages.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
with:
3535
dotnet-version: ${{ env.DOTNET_VERSION }}
3636

37+
- name: Install .NET workloads
38+
run: dotnet workload install wasm-tools
39+
3740
- name: Cache NuGet packages
3841
uses: actions/cache@v4
3942
with:
@@ -61,7 +64,9 @@ jobs:
6164
cat ${{ env.PROJECT_PATH }} | grep -A1 -B1 "<Version>"
6265
6366
- name: Restore dependencies
64-
run: dotnet restore
67+
run: |
68+
dotnet workload restore
69+
dotnet restore
6570
6671
- name: Build solution
6772
run: dotnet build --no-restore --configuration Release

0 commit comments

Comments
 (0)