Skip to content

Commit dc2d6bd

Browse files
committed
fix(ci): install wasm-tools-net9 workload for Blazor WASM build
The CI runner defaults to .NET 10 SDK which resolves 'wasm-tools' to the .NET 10 variant. The project targets net9.0 and requires the 'wasm-tools-net9' workload specifically.
1 parent 9432ff2 commit dc2d6bd

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
with:
2323
dotnet-version: ${{ env.DOTNET_VERSION }}
2424

25+
- name: Install .NET workloads
26+
run: dotnet workload install wasm-tools-net9
27+
2528
- name: Cache NuGet packages
2629
uses: actions/cache@v4
2730
with:

.github/workflows/deploy-pages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
dotnet-version: ${{ env.DOTNET_VERSION }}
3737

3838
- name: Install .NET workloads
39-
run: dotnet workload install wasm-tools
39+
run: dotnet workload install wasm-tools-net9
4040

4141
- name: Generate version number
4242
id: version

0 commit comments

Comments
 (0)