Skip to content

Fix DocFX GitHub Action workflow#114

Merged
davidatwhiletrue merged 1 commit into
masterfrom
docfx-update
May 11, 2026
Merged

Fix DocFX GitHub Action workflow#114
davidatwhiletrue merged 1 commit into
masterfrom
docfx-update

Conversation

@davidatwhiletrue

Copy link
Copy Markdown
Member
  • Resolves: #

Summary

The davidatwhiletrue/docfx-action@v1.0.0 uses a mono:latest base image based on Debian Buster, which reached End-of-Life in June 2024. apt update fails because Buster repositories have been archived, causing the workflow to fail with:

E: The repository 'http://deb.debian.org/debian buster Release' does not have a Release file.

This PR replaces the broken Docker-based action with a modern, native approach:

  • actions/checkout@v6 (was @v1)
  • actions/setup-dotnet@v5 (new, for .NET 8)
  • docfx installed as a .NET global tool
  • peaceiris/actions-gh-pages@v4 for publishing to GitHub Pages

Also updates action versions to Node.js 24 compatible ones to resolve deprecation warnings.

TODO

  • Replace broken docfx-action with native .NET tool approach
  • Update action versions to Node.js 24 compatible

Checklist

  • Code is properly formatted
  • All commits are signed
  • Tests included/updated or not needed
  • Documentation (manuals or wiki) has been updated or is not required

The davidatwhiletrue/docfx-action@v1.0.0 uses a mono:latest base image
based on Debian Buster, which reached End-of-Life in June 2024. apt update
fails because Buster repositories have been archived.

Replace the custom action with:
- actions/checkout@v4
- actions/setup-dotnet@v4 with .NET 8
- docfx installed as a .NET global tool
- peaceiris/actions-gh-pages@v4 for publishing

This bypasses the broken Mono/Debian Buster Docker image entirely.

Signed-off-by: David Hernando <david.hernando@make.services>

@alexmyshchyshyn alexmyshchyshyn left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@davidatwhiletrue davidatwhiletrue merged commit 57692a8 into master May 11, 2026
6 checks passed
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