Skip to content

Fix Docker build for actions with multi-step builds#685

Open
potiuk wants to merge 1 commit intorefactor/verify-action-build-modularizefrom
fix/verify-build-multi-step
Open

Fix Docker build for actions with multi-step builds#685
potiuk wants to merge 1 commit intorefactor/verify-action-build-modularizefrom
fix/verify-build-multi-step

Conversation

@potiuk
Copy link
Copy Markdown
Member

@potiuk potiuk commented Apr 9, 2026

Summary

Verified

  • Tested locally: uv run utils/verify-action-build.py matlab-actions/setup-matlab@c6998d116f15 now passes (both cache-save/index.js and setup/index.js show as identical)
  • All 112 existing unit tests pass

Test plan

🤖 Generated with Claude Code

The elif chain in the Dockerfile build step stopped after the first
successful command. Actions like matlab-actions/setup-matlab v3 need
both "npm run build" (tsc → lib/) and "npm run package" (ncc → dist/).
Replace the elif chain with a loop that checks for output after each
step and continues until dist/ has JS files.

Fixes verification failures in #667 and #668.

Generated-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@potiuk
Copy link
Copy Markdown
Member Author

potiuk commented Apr 9, 2026

Indeed - that one nicely worked for #667 and #668

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.

1 participant