Conversation
Co-authored-by: alexlib <747110+alexlib@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add GitHub action for submitting binary wheels to releases
Add GitHub Release publishing of binary wheels via cibuildwheel
Feb 19, 2026
There was a problem hiding this comment.
Pull request overview
This PR adds automated GitHub Release publishing for binary wheels built by cibuildwheel. Previously, wheels were built but not published, requiring users to build from source. The workflow now publishes wheels as GitHub Release assets when version tags are pushed.
Changes:
- Added
v*tag trigger to the workflow to fire on version tag pushes - Added new
releasejob that downloads wheels from all platform artifacts and publishes them to GitHub Releases - Scoped
contents: writepermission to the release job only
| contents: write | ||
| steps: | ||
| - name: Download all wheels | ||
| uses: actions/download-artifact@v7 |
There was a problem hiding this comment.
The download-artifact action version (v7) is incompatible with the upload-artifact version (v4) used in the build job at line 41. Actions v4 artifacts cannot be downloaded with actions v7. Change this to actions/download-artifact@v4 to match the upload action version, or upgrade both to the latest compatible versions.
Suggested change
| uses: actions/download-artifact@v7 | |
| uses: actions/download-artifact@v4 |
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.
Binary wheels built by cibuildwheel were not published anywhere, making them inaccessible to users without building from source.
Changes
v*tag trigger — workflow now fires on version tag pushes (e.g.,v1.0.0) in addition to branch pushes and PRsreleasejob — runs only on tag pushes (startsWith(github.ref, 'refs/tags/v')), depends on allbuildmatrix jobs completing successfully, then:actions/download-artifact@v7softprops/action-gh-release@v2contents: writepermission scoped to this job onlyUsage
This triggers a full wheel build across all platforms and attaches the resulting
.whlfiles to thev1.0.0GitHub Release, allowing users to install binary wheels directly without a PyPI publish step.✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.