Skip to content

Commit bac970c

Browse files
committed
Update config
1 parent 05d25ac commit bac970c

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

.github/workflows/docs.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,13 @@ jobs:
3030
with:
3131
dotnet-version: 9.x
3232

33-
- run: dotnet tool update -g docfx
33+
- name: Restore .NET tools
34+
run: dotnet tool restore
35+
working-directory: ./docs
3436

35-
- run: docfx docs/docfx.json
37+
- name: Generate documentation
38+
working-directory: ./docs
39+
run: dotnet docfx docfx.json
3640

3741
- name: Upload Pages artifact
3842
uses: actions/upload-pages-artifact@v3

docs/dotnet-tools.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"docfx": {
6+
"version": "2.78.3",
7+
"commands": [
8+
"docfx"
9+
]
10+
}
11+
}
12+
}

0 commit comments

Comments
 (0)