28 lines
651 B
YAML
28 lines
651 B
YAML
# Called by ci.yml to run documentation build
|
|
# See: https://docs.github.com/en/actions/using-workflows/reusing-workflows#creating-a-reusable-workflow
|
|
name: Build docfx
|
|
|
|
on:
|
|
workflow_call:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
run-docfx-build:
|
|
runs-on: windows-latest
|
|
|
|
steps:
|
|
- name: check out code
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
|
|
- name: Setup dotnet
|
|
uses: actions/setup-dotnet@d4c94342e560b34958eacfc5d055d21461ed1c5d # v5.0.0
|
|
|
|
- name: install docfx
|
|
run: dotnet tool install -g docfx
|
|
|
|
- name: run .\build\docfx.cmd
|
|
shell: cmd
|
|
run: .\build\docfx.cmd
|