Skip to content

Avoid mixing wheels between publish jobs#341

Open
aditya-pandey-dev wants to merge 4 commits intoOpenAstronomy:mainfrom
aditya-pandey-dev:fix/artifact-scope
Open

Avoid mixing wheels between publish jobs#341
aditya-pandey-dev wants to merge 4 commits intoOpenAstronomy:mainfrom
aditya-pandey-dev:fix/artifact-scope

Conversation

@aditya-pandey-dev
Copy link

@aditya-pandey-dev aditya-pandey-dev commented Dec 10, 2025

This PR fixes issue #215 where the non-aarch64 publish job was also uploading the aarch64 wheel from the same workflow run.
The reusable publish workflow was downloading all artifacts matching dist-*, so every publish job could see wheels from other build jobs.

I made the wheel and sdist artifact names in publish.yml include the build target and updated the publish jobs to download only their own artifact instead of dist-*.
I run the publish workflow on the fix/artifact-scope branch and it no longer mixes artifacts between jobs. I’ll add the GitHub Actions run link here . https://github.com/aditya-pandey-dev/github-actions-workflows/actions/runs/20006487200

@saksham242007
Copy link

I took a look through the changes and this makes sense to me.
Scoping the artifact names per publish job and downloading only the job-specific artifacts should avoid mixing wheels across runs.
CI is green as well.

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