Skip to content
This repository was archived by the owner on Aug 31, 2025. It is now read-only.

Commit f8711db

Browse files
committed
chore(workflows): update docfx installation method
Switch from Chocolatey to dotnet tool for installing docfx, and add dotnet setup step.
1 parent eae642b commit f8711db

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/documentation.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,13 @@ jobs:
1515
# with:
1616
# submodules: true
1717

18-
- name: Install DocFX
19-
run: choco install -y docfx --version 2.61.0
18+
- name: Dotnet Setup
19+
uses: actions/setup-dotnet@v3
20+
with:
21+
dotnet-version: 8.x
22+
23+
- name: Install docfx
24+
run: dotnet tool update -g docfx
2025

2126
- name: Use README.md as index.md
2227
run: cp readme.md Documentation/index.md

0 commit comments

Comments
 (0)