Our setup-smalltalkCI action installs some dependencies via apt-get using the following expression:
await exec.exec('sudo apt-get update')
Even though the outer run function contains a try-catch block that calls core.setFailed() in case of errors, the build does not fail there (see here).
How can we make sure that builds fail early, so that our users are not confused by later errors that come, for example, from a failing apt-get?
Related issue: #390
/cc @tom95
Our
setup-smalltalkCIaction installs some dependencies viaapt-getusing the following expression:Even though the outer
runfunction contains atry-catchblock that callscore.setFailed()in case of errors, the build does not fail there (see here).How can we make sure that builds fail early, so that our users are not confused by later errors that come, for example, from a failing
apt-get?Related issue: #390
/cc @tom95