From 47ccd452434e6bbe63845ac3b22aecd1e720214a Mon Sep 17 00:00:00 2001 From: devthejo Date: Mon, 7 Oct 2024 10:44:36 +0200 Subject: [PATCH] fix: build exit status --- plugins/contrib/jobs/build/use.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/contrib/jobs/build/use.yaml b/plugins/contrib/jobs/build/use.yaml index 559097d81..256750b87 100644 --- a/plugins/contrib/jobs/build/use.yaml +++ b/plugins/contrib/jobs/build/use.yaml @@ -157,6 +157,10 @@ runs: exit $status fi fi + {{ else }} + if [ "$status" -ne 0 ]; then + exit $status + fi {{ end }} echo "build succeeded."