Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions .github/workflows/docs-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,21 @@ concurrency:

jobs:
build:
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v4
with:
dotnet-version: 3.1.x
- name: Setup DocFX
uses: crazy-max/ghaction-chocolatey@v1
with:
args: install docfx
dotnet-version: 8.x
- name: Install dependencies
run: dotnet restore
working-directory: src/Textkernel.Tx.SDK
# generate the DocFX docs into the /docfx/_site folder
- name: DocFX Build
working-directory: docfx
run: docfx docfx.json
- name: Build Documentation
uses: nunit/docfx-action@v4.1.0
with:
args: docfx/docfx.json
continue-on-error: false
# upload the generated docs into an artifact that can be used by the job below
- name: Upload Artifacts
Expand Down
2 changes: 0 additions & 2 deletions docfx/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@
},
{
"files": [
"examples/**.md",
"examples/**/toc.yml",
"toc.yml",
"*.md"
]
Expand Down
Loading