Fix tag pipeline failures: resolve YAML syntax errors and missing build targets#83
Merged
Merged
Conversation
…rrect directory paths Co-authored-by: dogo <1487375+dogo@users.noreply.github.com>
Co-authored-by: dogo <1487375+dogo@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] dei push em uma nova tag, meu pipeline relacionado a novas tags nao funcionou
Fix tag pipeline failures: resolve YAML syntax errors and missing build targets
Aug 30, 2025
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 PR fixes the GitHub Actions pipeline that runs when new tags are pushed. The pipeline was failing due to several issues that prevented proper release builds and documentation deployment.
Issues Fixed
1. Missing
releaseTargetThe workflow was calling
make releasebut no such target existed in the Makefile. Added areleasetarget that properly calls the existingrelease.shscript:release: lib ./release.sh2. Invalid YAML Syntax
The workflow used YAML anchors incorrectly, which caused syntax errors:
3. Incorrect Directory References
The workflow tried to compress files from a
release/directory, but therelease.shscript actually creates files inDistrib/:4. GitHub Pages Authentication Failure
The
ghpagestarget was using SSH authentication which doesn't work in GitHub Actions. Updated to use HTTPS with the GitHub token:5. Build Artifacts Management
Added
Distrib/andOSLib.zipto.gitignoreto prevent build artifacts from being committed to the repository.Testing
python -c "import yaml; yaml.safe_load(open('.github/workflows/Build.yml'))"release.shscript creates files in expectedDistrib/directorymake releasetarget now works correctlyThe tag pipeline should now successfully build releases and deploy documentation when new tags are pushed.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.