Skip to content

Commit

Permalink
Replace github build workflow with just docfx validation
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Jan 14, 2025
1 parent 48ff6ea commit 8819ea6
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 72 deletions.
72 changes: 0 additions & 72 deletions .github/workflows/build.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/docs_validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 📃 Docfx Validate

on:
pull_request:
workflow_dispatch:

jobs:
build:
name: 📚 docfx
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
- name: ⚙ Install prerequisites
run: |
./init.ps1 -UpgradePrerequisites
dotnet --info
shell: pwsh
- name: 📚 Verify docfx build
run: dotnet docfx docfx/docfx.json --warningsAsErrors --disableGitFeatures
if: runner.os == 'Linux'

0 comments on commit 8819ea6

Please sign in to comment.