You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was a bug in artifact preparation where `find "dist/" -name
"*.whl"` returned success whenever `dist/` existed, even if it contained
no wheels. The following `mv dist/*.whl` then failed and obscured the
earlier build failure. This was observed in
https://github.com/meta-pytorch/monarch/actions/runs/30938873470/job/92093926645.
This change iterates over `dist/*.whl` and moves entries only when `[[
-f "${wheel}" ]]` succeeds. Missing and empty `dist/` directories are
no-ops, while an actual `mv` error still fails the artifact preparation
step.
Test plan:
- Ran the repository actionlint on the five changed workflows.
- Verified missing, empty, and populated `dist/` behavior under Bash,
including a wheel filename containing spaces.
- Verified that a real `mv` failure is propagated.
0 commit comments