mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2026-01-20 15:40:16 +01:00
Ensure project is restored before generating docfx
This commit is contained in:
parent
c64b70e978
commit
15bc73e400
9
.github/workflows/ghpages.yml
vendored
9
.github/workflows/ghpages.yml
vendored
|
|
@ -14,7 +14,14 @@ jobs:
|
|||
|
||||
- name: Clone NmeaParser
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Setup Visual Studio Command Prompt
|
||||
uses: microsoft/setup-msbuild@v1.0.2
|
||||
|
||||
- name: Restore
|
||||
run: |
|
||||
msbuild /restore /t:Restore src/NmeaParser/NmeaParser.csproj /p:Configuration=Release
|
||||
|
||||
- name: Download DocFX
|
||||
run: |
|
||||
mkdir .tools/docfx
|
||||
|
|
@ -24,7 +31,7 @@ jobs:
|
|||
DOCFXVERSION: 2.58
|
||||
|
||||
- name: Install .NET OMD Generator
|
||||
run: dotnet tool install --tool-path .tools/omd dotMorten.OmdGenerator --version 1.2.0
|
||||
run: dotnet tool install --tool-path .tools/omd dotMorten.OmdGenerator --version 1.3.1
|
||||
|
||||
- name: Generate OMD
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ IF NOT EXIST "..\.tools\nuget.exe" (
|
|||
)
|
||||
|
||||
REM Generate OMD
|
||||
dotnet tool install --tool-path %~dp0../.tools/omd dotMorten.OmdGenerator --version 1.2.0
|
||||
dotnet tool install --tool-path %~dp0../.tools/omd dotMorten.OmdGenerator --version 1.3.1
|
||||
mkdir %~dp0../artifacts/docs/api
|
||||
%~dp0..\.tools\omd\generateomd /source=%~dp0../src/NmeaParser /output=%~dp0../artifacts/docs/api/omd.html /preprocessors=NETSTANDARD1_4;NETSTANDARD
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue