From 6582fdce970268ddd28f1ccbfb90e04fae54acd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Han?= Date: Thu, 5 Aug 2021 15:38:39 +0200 Subject: [PATCH] ci: break if no errors on build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No wonder why the build has been taking longer... We were building 3 times. We just got at least 2 minutes back of build time thanks to this fix. Signed-off-by: Sébastien Han --- tests/scripts/github-action-helper.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/scripts/github-action-helper.sh b/tests/scripts/github-action-helper.sh index d6f435f3c..e1faa7075 100755 --- a/tests/scripts/github-action-helper.sh +++ b/tests/scripts/github-action-helper.sh @@ -113,6 +113,8 @@ function build_rook() { # valid failure exit 1 esac + # no errors so we break the loop after the first iteration + break fi done # validate build