-
-
Notifications
You must be signed in to change notification settings - Fork 253
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
Windows and Mac builds do not raise error when the build fails #325
Comments
Déjà vu. We used to have this image in Linux as well. Perhaps we can use a similar same solution. |
It doesn't even seem like the process exits when the build fails, at least on my self-hosted runnner. |
I see this in my logs, which is perhaps the culprit?
It looks like that's expecting an int? Probably some Windows hogwash. |
Seems like something's wrong here, but I don't know anything about PowerShell: unity-builder/dist/platforms/windows/build.ps1 Lines 128 to 138 in e5e370e
|
I think maybe |
Seems like nowhere in the script does it actually exit if there is a failure? I am playing with adding explicit exits on my fork. Not sure if that's the best solution or what, still learning this codebase. https://github.com/wilg/unity-builder |
Yes, this can probably be improved. |
This seems to have been added explicitly, the Mac builder is run with unity-builder/src/model/mac-builder.ts Lines 6 to 9 in 3337de4
Edit: and because |
Done by #505 |
Bug description
Windows and Mac builds do not raise error when the build fails
How to reproduce
Expected behavior
The GitHub actions status should show as errored.
Additional details
The windows builds here failed, but do not show as errored: https://github.com/finol-digital/Card-Game-Simulator/actions/runs/1748742227
The text was updated successfully, but these errors were encountered: