Skip to content

Commit

Permalink
Update docfx script
Browse files Browse the repository at this point in the history
  • Loading branch information
dotMorten committed Nov 20, 2024
1 parent 730f878 commit 9bcd955
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ghpages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
- name: Download DocFX
run: |
mkdir .tools/docfx
Invoke-WebRequest -Uri "https://github.com/dotnet/docfx/releases/download/v${env:DOCFXVERSION}/docfx.zip" -OutFile ".tools/docfx/docfx.zip"
Invoke-WebRequest -Uri "https://github.com/dotnet/docfx/releases/download/v${env:DOCFXVERSION}/docfx-win-x64-v{env:DOCFXVERSION}.zip" -OutFile ".tools/docfx/docfx.zip"
[System.IO.Compression.ZipFile]::ExtractToDirectory(".tools/docfx/docfx.zip", ".tools/docfx" )
env:
DOCFXVERSION: 2.59.0
DOCFXVERSION: 2.77.0

- name: Install .NET OMD Generator
run: dotnet tool install --tool-path .tools/omd dotMorten.OmdGenerator --version 1.4.0
Expand All @@ -45,7 +45,7 @@ jobs:
env:
DOCFX_SOURCE_BRANCH_NAME: main
run: |
nuget install memberpage -Version 2.59.0 -OutputDirectory docs
nuget install memberpage -Version 2.77.0 -OutputDirectory docs
.tools/docfx/docfx.exe metadata docs/docfx.json
dotnet build docs/AppliesToGenerator\DocFXAppliesToGenerator.csproj
docs/AppliesToGenerator\bin\Debug\net6.0\DocFXAppliesToGenerator.exe docs/appliesToList.json
Expand Down

0 comments on commit 9bcd955

Please sign in to comment.