Fixes #1469 by stopping build if any step fails