From e6d5d6489214e582a00c275459b047f8612f1558 Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral Date: Wed, 27 Jul 2022 22:17:16 +0100 Subject: [PATCH] ci/prepare_environment: fail in case of error Signed-off-by: Unai Martinez-Corral --- .github/scripts/prepare_environment.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/scripts/prepare_environment.sh b/.github/scripts/prepare_environment.sh index 1d26c3e..0699954 100755 --- a/.github/scripts/prepare_environment.sh +++ b/.github/scripts/prepare_environment.sh @@ -16,6 +16,8 @@ # # SPDX-License-Identifier: Apache-2.0 +set -e + echo '::group::Install dependencies' sudo apt update -y sudo apt install -y git wget xz-utils