Commit b28f1a5
Fix release workflow artifact pattern mismatch (#1154)
## 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
- **Build job** uploads artifact with name: `wheels`
- **Release job** downloads with pattern: `wheels-*`
- **Pattern mismatch**: `wheels` ≠ `wheels-*`
- **Result**: 0 artifacts downloaded → PyPI upload fails
## Evidence from Failed Run
```
Found 1 artifact(s)
Filtering artifacts by pattern 'wheels-*'
Filtered from 1 to 0 artifacts
Total of 0 artifact(s) downloaded
error: No files found to publish
```
## Solution
Update the artifact download pattern to match the actual artifact name:
```yaml
# Before
pattern: wheels-*
# After
pattern: wheels
```
## Testing
This change will allow the release job to properly download the wheel
artifacts created by the build job, enabling successful PyPI uploads.
## Related
- Fixes the v0.56.1 release failure:
https://github.com/codegen-sh/codegen/actions/runs/15960085099
- Resolves the configuration race condition between build and release
jobs
---
[💻 View my work](https://codegen.com/agent/trace/46128) • [About
Codegen](https://codegen.com)
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
Co-authored-by: Edo Pujol <ed@codegen.com>1 parent 398b87a commit b28f1a5
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
0 commit comments