mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2026-01-20 15:40:16 +01:00
Update docfx script
This commit is contained in:
parent
730f878591
commit
9bcd9550ae
6
.github/workflows/ghpages.yml
vendored
6
.github/workflows/ghpages.yml
vendored
|
|
@ -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
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue