Skip to content

Commit ff22b44

Browse files
committed
fix: update doc generation script
1 parent 9d4b7ae commit ff22b44

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,12 @@ jobs:
2121

2222
steps:
2323
- uses: actions/checkout@v2
24-
- name: Setup .NET 6
24+
- name: Setup .NET
2525
uses: actions/setup-dotnet@v3
2626
with:
27-
dotnet-version: '6.0.x'
27+
dotnet-version: |
28+
6.0.x
29+
8.0.x
2830
- name: Run docs generation
2931
run: ./docs/generate.ps1
3032

docs/generate.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ try {
3737
if (-not (Test-Path $docfx)) {
3838
mkdir -p $docfxRoot -ErrorAction Ignore | Out-Null
3939
$temp = (New-TemporaryFile).FullName + ".zip"
40-
Invoke-WebRequest "https://www.nuget.org/api/v2/package/docfx.console/$docfxVersion" -O $temp
40+
Invoke-WebRequest "https://www.nuget.org/api/v2/package/docfx.console/$docfxVersion" -OutFile $temp
4141
Expand-Archive $temp -DestinationPath $docfxRoot
4242
Remove-Item $temp
4343
if ($Install) {

0 commit comments

Comments
 (0)