Skip to content

Commit a4c1729

Browse files
committed
Update build action to setup docfx as dotnet tool
1 parent aabb478 commit a4c1729

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ jobs:
1515
with:
1616
submodules: recursive
1717

18+
- name: Setup .NET Core SDK
19+
uses: actions/setup-dotnet@v3.2.0
20+
with:
21+
dotnet-version: 7.x
22+
1823
- name: Custom Build Steps
1924
run: .\build.ps1
2025

@@ -25,12 +30,10 @@ jobs:
2530
run: msbuild -t:restore src\harp\Bonsai.Harp.sln
2631

2732
- name: Setup DocFX
28-
uses: crazy-max/ghaction-chocolatey@v1
29-
with:
30-
args: install docfx
33+
run: dotnet tool restore
3134

3235
- name: Build Documentation
33-
run: docfx docfx.json
36+
run: dotnet docfx docfx.json
3437

3538
- name: Checkout gh-pages
3639
uses: actions/checkout@v2

0 commit comments

Comments
 (0)