From 06589d11617f4d6099cc7fc9efef1af842cbc9d0 Mon Sep 17 00:00:00 2001 From: TobiasNx <61879957+TobiasNx@users.noreply.github.com> Date: Thu, 15 Aug 2024 12:03:22 +0200 Subject: [PATCH] Add exit function #2051 This was missing in #2051 Without it the actions do not fail if validation fails. --- src/test/resources/validateJsonTestFiles.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/resources/validateJsonTestFiles.sh b/src/test/resources/validateJsonTestFiles.sh index 6c6e8622d8..c7e4bc8522 100644 --- a/src/test/resources/validateJsonTestFiles.sh +++ b/src/test/resources/validateJsonTestFiles.sh @@ -20,4 +20,5 @@ then echo -e "All tests \033[0;32mPASSED\033[0m\n" else echo -e "Test \033[0;31mFAILED\033[0m\n" + exit 1 fi