diff --git a/.github/workflows/github-release.yml b/.github/workflows/github-release.yml index 21ce9d7122..cc86f330b4 100644 --- a/.github/workflows/github-release.yml +++ b/.github/workflows/github-release.yml @@ -83,7 +83,12 @@ jobs: REACT_APP_INTERCOM_APP_ID: "${{ secrets.APPSMITH_INTERCOM_ID }}" REACT_APP_VERSION_EDITION: "Community" run: | - yarn build + yarn build || EXIT_CODE=$? + + if [ -n "$EXIT_CODE" ] && [ "$EXIT_CODE" -gt 1 ]; then + exit $EXIT_CODE + fi + ls -l build - name: Pack the client build directory