Skip to content

Commit

Permalink
Script should fail if called script fails
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Apr 29, 2024
1 parent 87e6120 commit 6317e22
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env bash

set -e
set -o pipefail

if [ -z "$MATRIX_SCALA" ]; then
echo "Error: the environment variable MATRIX_SCALA is not set"
exit 1
Expand Down

0 comments on commit 6317e22

Please sign in to comment.