Skip to content

Commit 8819ea6

Browse files
committed
Replace github build workflow with just docfx validation
1 parent 48ff6ea commit 8819ea6

File tree

2 files changed

+22
-72
lines changed

2 files changed

+22
-72
lines changed

.github/workflows/build.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: 📃 Docfx Validate
2+
3+
on:
4+
pull_request:
5+
workflow_dispatch:
6+
7+
jobs:
8+
build:
9+
name: 📚 docfx
10+
runs-on: ubuntu-22.04
11+
steps:
12+
- uses: actions/checkout@v4
13+
with:
14+
fetch-depth: 0 # avoid shallow clone so nbgv can do its work.
15+
- name: ⚙ Install prerequisites
16+
run: |
17+
./init.ps1 -UpgradePrerequisites
18+
dotnet --info
19+
shell: pwsh
20+
- name: 📚 Verify docfx build
21+
run: dotnet docfx docfx/docfx.json --warningsAsErrors --disableGitFeatures
22+
if: runner.os == 'Linux'

0 commit comments

Comments
 (0)