name: DocFX on: push: branches: [ main ] pull_request: branches: [ main ] 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