Skip to content

Fix CI build failure caused by windows-latest runner upgrade to VS 2025#33

Merged
ManlyMarco merged 2 commits into
masterfrom
copilot/fix-failing-github-actions-job
Jun 9, 2026
Merged

Fix CI build failure caused by windows-latest runner upgrade to VS 2025#33
ManlyMarco merged 2 commits into
masterfrom
copilot/fix-failing-github-actions-job

Conversation

Copilot AI commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

The windows-latest runner was updated to include Visual Studio 18 (2025), whose MSBuild is incompatible with docfx.console 2.59.4, causing all project metadata extraction to fail with The type initializer for 'Microsoft.Build.Shared.XMakeElements' threw an exceptionNullReferenceException.

Changes

  • runs-on: windows-2022 — pins to VS 2022 MSBuild, which docfx.console 2.59.4 is compatible with (root cause fix)
  • actions/checkout@v1@v4 — v1 runs on Node.js 12 (long deprecated)
  • actions/setup-dotnet@v1.0.0@v4 — Node.js 20 actions are being force-upgraded to Node.js 24 on June 16, 2026
  • crazy-max/ghaction-github-pages@v2@v5 — v5 targets Node.js 24 runtime

Copilot AI changed the title [WIP] Fix failing GitHub Actions job "build" Fix CI build failure caused by windows-latest runner upgrade to VS 2025 Jun 9, 2026
Copilot AI requested a review from ManlyMarco June 9, 2026 15:34
@ManlyMarco ManlyMarco marked this pull request as ready for review June 9, 2026 15:36
@ManlyMarco ManlyMarco merged commit 3230fb3 into master Jun 9, 2026
1 check failed
Copilot stopped work on behalf of ManlyMarco due to an error June 9, 2026 15:39
@ManlyMarco ManlyMarco deleted the copilot/fix-failing-github-actions-job branch June 9, 2026 15:51
ManlyMarco pushed a commit that referenced this pull request Jun 13, 2026
…25 (#33)

* Initial plan

* Fix CI: pin to windows-2022, update deprecated GitHub Actions

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants