ci: binaries-linux-x64-static: abort the job when a build fails

This commit is contained in:
Simon Michael 2022-07-31 16:44:20 +01:00
parent 5f11d3c52c
commit a00c93fd07

View File

@ -50,9 +50,9 @@ jobs:
- name: Build on alpine
run: |
cabal build --enable-executable-static hledger || echo "ERROR: building hledger failed"
cabal build --enable-executable-static hledger-ui || echo "ERROR: building hledger failed"
cabal build --enable-executable-static hledger-web || echo "ERROR: building hledger-web failed"
cabal build --enable-executable-static hledger || (echo "ERROR: building hledger failed"; false)
cabal build --enable-executable-static hledger-ui || (echo "ERROR: building hledger failed"; false)
cabal build --enable-executable-static hledger-web || (echo "ERROR: building hledger-web failed"; false)
- name: Gather binaries
run: |