diff --git a/.github/workflows/build-desktop.yml b/.github/workflows/build-desktop.yml index 2b89640a89..019232cb3c 100644 --- a/.github/workflows/build-desktop.yml +++ b/.github/workflows/build-desktop.yml @@ -1170,7 +1170,7 @@ jobs: run: | if [ "$CLOC_STATUS" = "failure" ]; then exit 1 - if [ "$ELECTRON_VERIFY_STATUS" = "failure" ]; then + elif [ "$ELECTRON_VERIFY_STATUS" = "failure" ]; then exit 1 elif [ "$SETUP_STATUS" = "failure" ]; then exit 1