Skip to content

Better support for retrieving artifacts from CircleCI workflows with multiple jobs#90

Merged
larsoner merged 13 commits intoscientific-python:masterfrom
DavidT3:master
Jan 16, 2026
Merged

Better support for retrieving artifacts from CircleCI workflows with multiple jobs#90
larsoner merged 13 commits intoscientific-python:masterfrom
DavidT3:master

Conversation

@DavidT3
Copy link
Copy Markdown
Contributor

@DavidT3 DavidT3 commented Jan 15, 2026

This is for issue #89

The action will now choose the first job (jobs.items[0]) if there is only one job in the CircleCI workflow.

If there are multiple CircleCI jobs in the workflow, it will iterate through their names (as retrieved from CircleCI's API) and check to see if that name appears in the circle CI job names passed to the action. The first matching job will be selected.

If no matching jobs are found, a debug message is triggered, and we revert back to choosing jobs.items[0].

The action should now better support CircleCI workflows that have multiple jobs, as prior to these changes it would only ever select the first job in the list to try to retrieve the specified artifact from.

@DavidT3
Copy link
Copy Markdown
Contributor Author

DavidT3 commented Jan 15, 2026

I have tested these changes in the project that led me to find this issue. The changes resolve the issue with multiple jobs in a workflow, and the action still works as before for single-job workflows.

@larsoner
Copy link
Copy Markdown
Collaborator

Looks great, thanks @DavidT3 !

@larsoner larsoner merged commit 50e5b7e into scientific-python:master Jan 16, 2026
5 checks 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