Fix DocFX GitHub Action workflow#114
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The
davidatwhiletrue/docfx-action@v1.0.0uses amono:latestbase image based on Debian Buster, which reached End-of-Life in June 2024.apt updatefails because Buster repositories have been archived, causing the workflow to fail with: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)docfxinstalled as a .NET global toolpeaceiris/actions-gh-pages@v4for publishing to GitHub PagesAlso updates action versions to Node.js 24 compatible ones to resolve deprecation warnings.
TODO
Checklist