Skip to content

Commit

Permalink
fix: update doc generation script
Browse files Browse the repository at this point in the history
  • Loading branch information
natemcmaster committed Mar 30, 2024
1 parent 9d4b7ae commit ff22b44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Setup .NET 6
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: '6.0.x'
dotnet-version: |
6.0.x
8.0.x
- name: Run docs generation
run: ./docs/generate.ps1

Expand Down
2 changes: 1 addition & 1 deletion docs/generate.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ try {
if (-not (Test-Path $docfx)) {
mkdir -p $docfxRoot -ErrorAction Ignore | Out-Null
$temp = (New-TemporaryFile).FullName + ".zip"
Invoke-WebRequest "https://www.nuget.org/api/v2/package/docfx.console/$docfxVersion" -O $temp
Invoke-WebRequest "https://www.nuget.org/api/v2/package/docfx.console/$docfxVersion" -OutFile $temp
Expand-Archive $temp -DestinationPath $docfxRoot
Remove-Item $temp
if ($Install) {
Expand Down

0 comments on commit ff22b44

Please sign in to comment.