From 956b9290a0a76b6cce2a50111e6ccdbb317237eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustavo=20Gir=C3=A1ldez?= Date: Wed, 14 Feb 2024 19:02:53 -0500 Subject: [PATCH] Detect build failures when using the GitHub action --- action.js | 1 + 1 file changed, 1 insertion(+) diff --git a/action.js b/action.js index 5002d07..d7c32de 100644 --- a/action.js +++ b/action.js @@ -20,6 +20,7 @@ if ((value = getInput("build-options")) !== "") buildOpts.push(`-o "${value} // generate a local build.sh script: fs.writeFileSync("build.sh", `#! bash +set -eo pipefail source ${__dirname}/build.sh dockerSetup ${setupOpts.join(" ")} echo $VERSION > VERSION