diff --git a/.github/workflows/onpush_builder.yaml b/.github/workflows/onpush_builder.yaml index f303af508..caa9b5b57 100644 --- a/.github/workflows/onpush_builder.yaml +++ b/.github/workflows/onpush_builder.yaml @@ -92,8 +92,7 @@ jobs: version=$(sed -e '/version/!d' -e 's/.*version: //' config.yaml) elif [ -f config.json ]; then version=$(sed -e '/version/!d' -e 's/.*[^"]*"\([^"]*\)",/\1/' config.json) - else - exit 1 + else; exit 1 fi # Exit if test if [[ "$version" == *"test"* ]]; then exit 0; fi