Enhance build configuration and artifact management in CI#11
Merged
Conversation
This way we can support branches while uploading/publishing artifacts
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.
This pull request updates the
.github/workflows/build.yamlworkflow to improve flexibility and consistency in building and publishing documentation. The main changes include adding new workflow inputs, updating artifact naming conventions to use a more accurate version identifier, and making publishing to GitHub Pages optional and more robust.Workflow input and parameter improvements:
dist_version,repository, andpublish, allowing users to specify the distribution version, repository to checkout, and whether to publish documentation to GitHub Pages. The default values ensure backward compatibility.repositoryinput, making the workflow more flexible for different repositories.Artifact naming and output consistency:
dist_versioninput instead ofreference, ensuring consistency with the output ofpatchlevel.pyand improving clarity in artifact naming..texfiles aspdf-logs.zipto aid in debugging PDF build issues.Publishing improvements:
gh-pages) conditional on thepublishinput being set to'true', preventing accidental publishing and allowing for more controlled releases.dist_versioninstead ofreference, ensuring that published files match the correct versioning scheme.Dependency update:
librsvg2-binto the list of installed packages, which may be required for SVG processing in documentation builds.