ci: break if no errors on build

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 <seb@redhat.com>
This commit is contained in:
Sébastien Han committed 2021-08-05 15:40:48 +02:00
1 parent df432fd822
commit 6582fdce97
1 file changed
+2
+2
View File
@@ -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