-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(macos): resolve filename conflict and remove nested ZIP structure for DMG #160
Conversation
- Adjusted the workflow to upload MacOS DMG files directly instead of nesting them inside a ZIP. - Simplified the artifact structure for easier access and usability.
Reviewer's Guide by SourceryThis PR fixes MacOS artifact handling in the CI workflow by restructuring how DMG and ZIP files are named and uploaded. The implementation modifies the build workflow to rename artifacts before upload and simplifies the artifact upload process by removing nested ZIP structures. No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @Ovler-Young - I've reviewed your changes and found some issues that need to be addressed.
Blocking issues:
- The path contains a duplicate 'temp_macos' directory which will cause the artifact upload to fail (link)
Overall Comments:
- The DMG upload path contains a duplicate 'temp_macos' directory ('temp_macos/temp_macos/'). This looks incorrect and should be fixed.
- Adding 'continue-on-error: true' to the ZIP upload will mask failures silently. Consider removing this unless there's a specific reason for allowing failures.
Here's what I looked at during the review
- 🔴 General issues: 1 blocking issue
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
- Fixed the duplicate 'temp_macos' directory path in the DMG artifact upload step.
Context
Recent changes introduced an artifact filename conflict for MacOS ZIP uploads due to incorrect filename handling. Additionally, the current workflow for MacOS DMG files involves nesting them inside a ZIP file, which adds unnecessary complexity and nesting.
Changes Made
Fix MacOS ZIP Upload Filename Conflict:
Remove Nested ZIP Structure for MacOS DMG:
Resolve CI problem in https://github.com/Losses/rune/actions/runs/12132874788
Impact
Summary by Sourcery
Fix filename conflict for MacOS ZIP uploads and simplify the artifact structure by removing the nested ZIP for DMG files in the CI workflow.
Bug Fixes:
Enhancements:
CI: