Fix build.yml: Auto-commit binaries to repository and improve build robustness - #2
Merged
spiritLHLS merged 4 commits intoSep 24, 2025
Merged
Conversation
Co-authored-by: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com>
Co-authored-by: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com>
Co-authored-by: spiritLHLS <103393591+spiritLHLS@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] 编译还是有问题吧
https://github.com/oneclickvirt/stream/actions/runs/17973467829
而且编译成功的文件的不应该保存到当前的仓库的main分支下的仓库根目录下的bin文件夹内吗?
请都进行修复
Fix build.yml: Auto-commit binaries to repository and improve build robustness
Sep 24, 2025
spiritLHLS
deleted the
copilot/fix-29b0204f-1b95-4a0d-8b66-23e604448b03
branch
September 24, 2025 10:26
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.
Problem
The GitHub Actions workflow had two critical issues:
Binaries not accessible in repository: While builds were succeeding, compiled STREAM binaries were only stored as workflow artifacts and never committed to the repository's main branch, making them inaccessible to users.
Poor build resilience: Individual architecture build failures could impact the overall workflow stability, and there was limited visibility into which specific architectures failed.
Solution
Automated Binary Commits
Added comprehensive Git automation to the
collectjob that:bin/directoryEnhanced Build Robustness
Improved Artifact Management
Result
After these changes:
bin/directory on the main branchThe workflow now properly addresses both the compilation robustness and binary accessibility issues, making the repository much more useful for end users who want direct access to STREAM binaries across all supported architectures.
Fixes: Issues with build artifact accessibility and workflow resilience
Testing: Verified with local STREAM compilation and workflow syntax validation
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.