2020-04-26 14:27:16 +01:00
|
|
|
name: DocFX
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
2022-04-30 17:01:01 +01:00
|
|
|
branches: [ main ]
|
2020-04-26 14:27:16 +01:00
|
|
|
pull_request:
|
2022-04-30 17:01:01 +01:00
|
|
|
branches: [ main ]
|
2020-04-26 14:27:16 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Setup .NET Core
|
|
|
|
uses: actions/setup-dotnet@v1
|
|
|
|
with:
|
|
|
|
dotnet-version: 3.1.101
|
|
|
|
- name: Install DocFX
|
|
|
|
run: |
|
|
|
|
curl -L https://github.com/dotnet/docfx/releases/latest/download/docfx.zip -o docfx.zip
|
|
|
|
unzip -d .docfx docfx.zip
|
|
|
|
- name: Build documentation
|
2020-04-26 14:32:19 +01:00
|
|
|
run: dotnet run .docfx/docfx.exe --project X10D.sln
|