Fix release workflow artifact pattern mismatch#1154
Merged
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅ ✅ All tests successful. No failed tests found. 🚀 New features to boost your workflow:
|
In commit d4e84fd, the build system was changed from cibuildwheel to uv build: - Before: cibuildwheel created multiple platform-specific wheels with names like 'wheels-ubuntu-latest-3.12' - After: uv build creates a single pure Python wheel uploaded as 'wheels' However, the release job still used the old pattern 'wheels-*' which no longer matches the new artifact name 'wheels', causing 0 artifacts to be downloaded and PyPI upload to fail with 'No files found to publish'. Changes: - Update artifact download pattern from 'wheels-*' to 'wheels' to match new build system - This fixes the v0.56.1 release failure and aligns with the pure Python wheel approach Fixes: https://github.com/codegen-sh/codegen/actions/runs/15960085099
b27f8f3 to
98cce0d
Compare
…mismatch-1751237199
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 v0.56.1 release failed with "No files found to publish" error during PyPI upload. Investigation revealed a configuration race condition between the build and release jobs.
Root Cause
wheelswheels-*wheels≠wheels-*Evidence from Failed Run
Solution
Update the artifact download pattern to match the actual artifact name:
Testing
This change will allow the release job to properly download the wheel artifacts created by the build job, enabling successful PyPI uploads.
Related
💻 View my work • About Codegen