mirror of
https://github.com/oliverbooth/X10D
synced 2024-11-10 04:55:42 +00:00
25 lines
545 B
YAML
25 lines
545 B
YAML
name: DocFX
|
|
|
|
on:
|
|
push:
|
|
branches: [ master ]
|
|
pull_request:
|
|
branches: [ master ]
|
|
|
|
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
|
|
run: dotnet run .docfx/docfx.exe --project X10D.sln |