ci: simplify docker workflow using actions-mn actions#40
Open
ronaldtse wants to merge 3 commits into
Open
Conversation
Replace metanorma/ci/docker-gem-install@main (which fails with bundler exit code 5) and manual actions/cache@v4 logic with actions-mn/cache@v1 and actions-mn/site-gen@v1. The actions-mn actions handle font caching, manifest-based site caching, and metanorma site generation internally, eliminating the need for a separate bundler install step.
The actions-mn/cache@v1 is a composite action that uses actions/github-script internally, which fails inside Docker containers with ERR_PACKAGE_PATH_NOT_EXPORTED. Keep actions/cache@v4 for site output caching, and use actions-mn/site-gen@v1 for the build step.
Explain how the release workflow uses normalized document identifiers from RXL metadata (not source directory names) for pattern matching. Add workflow_dispatch inputs for include-pattern and force.
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
metanorma/ci/docker-gem-install@main(failing with bundler exit code 5) withactions-mn/cache@v1+actions-mn/site-gen@v1actions/cache@v4orchestration —actions-mn/cache@v1handles manifest-based site caching internally_siteas artifactmetanorma --versiondebug step (not essential)What changed
metanorma/ci/docker-gem-install@mainactions/cache@v4with hash keyactions-mn/cache@v1actions-mn/build-and-publish@v2actions-mn/site-gen@v1actions/upload-artifact@v4Fixes the bundler exit code 5 failure on the
buildjob.