From e1589002ee4d33ddaf7d4db787c2159b1a605e31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Seld=C3=A9n?= Date: Thu, 20 Aug 2026 11:08:03 +0200 Subject: [PATCH] Fix docs workflow by using modern docfx tool and .NET 10 SDK The docs CI failed because the outdated Chocolatey docfx and .NET 6 SDK could not load the .NET 10 projects (XMakeElements type initializer error). Switch to the docfx .NET global tool and install the .NET 10 SDK. Fixes #549 --- .github/workflows/docs.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d24f71a1..6150121c 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -23,17 +23,15 @@ jobs: runs-on: windows-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - name: Setup .NET 6.0 - uses: actions/setup-dotnet@v1 + - name: Setup .NET + uses: actions/setup-dotnet@v4 with: - dotnet-version: 6.0.x + dotnet-version: 10.0.x - name: Setup DocFX - uses: crazy-max/ghaction-chocolatey@v1 - with: - args: install docfx + run: dotnet tool update -g docfx - name: Copy *.md to docs run: Copy-Item -Path ./*.md -Destination ./docs/articles