Skip to content

Commit 09353ad

Browse files
authored
Update Azure Static Web Apps workflow with restore step
Added restore step to ensure required WASM workloads are used for the dotnet project.
1 parent adb8355 commit 09353ad

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/azure-static-web-apps-ashy-island-008420303.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@ jobs:
2020
submodules: true
2121
lfs: false
2222

23+
- name: Ensure required WASM workloads
24+
working-directory: ./dotnet
25+
run: |
26+
# Restore workload manifests for the dotnet project (will populate needed workload info)
27+
dotnet workload restore
28+
2329
- name: Build dotnet
2430
working-directory: ./react
2531
run: |
@@ -56,3 +62,4 @@ jobs:
5662
with:
5763
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_ASHY_ISLAND_008420303 }}
5864
action: "close"
65+

0 commit comments

Comments
 (0)