Skip to content

Commit a4a6c41

Browse files
committed
2 parents 818e7f8 + c76904b commit a4a6c41

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/build-repository.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,16 @@ jobs:
2828
url: ${{ steps.deployment.outputs.page_url }}
2929
runs-on: ubuntu-latest
3030
steps:
31-
31+
32+
# Install .NET SDK
33+
- name: Setup .NET SDK
34+
uses: actions/setup-dotnet@v4
35+
with:
36+
dotnet-version: 9.0.x
37+
38+
- name: Install .NET WebAssembly Tools
39+
run: dotnet workload install wasm-tools
40+
3241
- uses: actions/checkout@v4 # check out this repo
3342

3443
- name: Restore Cache
@@ -40,7 +49,8 @@ jobs:
4049
key: ${{ runner.os }}-${{ hashFiles('**/global.json', '**/*.csproj') }}
4150

4251
- name: Publish Pages
43-
run: ./build.sh Publish --output $GITHUB_WORKSPACE/${{env.publishDirectory}}
52+
shell: bash
53+
run: ./build.sh --target Publish --output ${{env.publishDirectory}}
4454
env:
4555
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4656

0 commit comments

Comments
 (0)