Skip to content

Conversation

@tiwilliam
Copy link
Owner

Summary

  • update all upload and download artifact steps to the maintained v4 actions

Testing

  • not run

https://chatgpt.com/codex/tasks/task_e_68f4b8328250833184a319960d669dba

@tiwilliam tiwilliam marked this pull request as ready for review October 19, 2025 10:10
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

This PR is being reviewed by Cursor Bugbot

Details

You are on the Bugbot Free tier. On this plan, Bugbot will review limited PRs each billing cycle.

To receive Bugbot reviews on all of your PRs, visit the Cursor dashboard to activate Pro and start your 14-day free trial.

needs: [linux, windows, macos, sdist]
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
Copy link

Choose a reason for hiding this comment

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

Bug: Artifact Path Change Breaks Upload

The actions/download-artifact@v4 update now places artifacts into a wheels/ subdirectory by default. This prevents the subsequent maturin upload command from finding the wheel files, as it expects them in the current directory.

Fix in Cursor Fix in Web

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines 37 to 38
apt update -y && apt-get install -y libssl-dev openssl pkg-config
fi

Choose a reason for hiding this comment

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

P1 Badge Avoid reusing artifact name after switching to v4 actions

The upgrade to actions/upload-artifact@v4 changes behavior: v4 no longer appends to an existing artifact and will fail when another job tries to upload with the same name. All matrix jobs (linux, windows, macos) plus sdist still publish to an artifact named wheels, so after the first successful upload, the next job will error out with “Artifact with the name wheels already exists for the run.” To keep aggregating wheels from multiple jobs, each upload needs a unique name (e.g. include ${{ matrix.target }}) and the release job should download them via a pattern with merge: true.

Useful? React with 👍 / 👎.

@tiwilliam tiwilliam merged commit be705d1 into main Oct 19, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants