Skip to content

Commit

Permalink
Detect build failures when using the GitHub action (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggiraldez authored Feb 16, 2024
1 parent 0084f2b commit 33476e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions action.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 33476e7

Please sign in to comment.