Skip to content

Fix upload_pypi: artifact name mismatch causes zero downloads#44

Merged
RobinDavid merged 2 commits into
mainfrom
copilot/fix-upload-pypi-job
Jun 28, 2026
Merged

Fix upload_pypi: artifact name mismatch causes zero downloads#44
RobinDavid merged 2 commits into
mainfrom
copilot/fix-upload-pypi-job

Conversation

Copilot AI commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

The upload_pypi job was failing because download-artifact used pattern: artifact_*, which doesn't match the artifact actually uploaded under the name artifact — resulting in 0 artifacts downloaded and a PyPI publish failure.

Changes

  • .github/workflows/release.yml: Replace pattern: artifact_* + merge-multiple: true with name: artifact in the download-artifact step, so it correctly resolves the artifact produced by build_wheel_and_sdist
# Before
- uses: actions/download-artifact@v8
  with:
    pattern: artifact_*       # never matches "artifact"
    merge-multiple: true
    path: dist

# After
- uses: actions/download-artifact@v8
  with:
    name: artifact            # exact match
    path: dist

Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'upload_pypi' Fix upload_pypi: artifact name mismatch causes zero downloads Jun 28, 2026
Copilot AI requested a review from RobinDavid June 28, 2026 14:05

@RobinDavid RobinDavid left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @copilot :)

@RobinDavid RobinDavid marked this pull request as ready for review June 28, 2026 14:07
@RobinDavid RobinDavid merged commit daa4e91 into main Jun 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants