-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI doesn't produce a failure related exit code in case of failure #783
Comments
we hit similar issue where the swa cli has error but the return code doesn't have error so we can't reliably detect issues in our build script... swa deploy $deploymentEnvironment --deployment-token $deploymentToken ... 2024-04-26 18:44:27.656027: - Preparing deployment. Please wait... |
Describe the bug
A clear and concise description of what the bug is.
Any error coming from running the CLI doesn't have an exit code that represents a failure. When I run the CLI directly (not by using the github actions action), I don't get an error from it. One example:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expected the CLI to exit with a code that represents a failure, so the workflow would fail.
The text was updated successfully, but these errors were encountered: