game-ci / unity-orb

Build and test Unity projects for several platforms using CircleCI.
https://circleci.com/developer/orbs/orb/game-ci/unity
MIT License
7 stars 12 forks source link

fix: throw errors from the Unity CLI in the Windows `build` command #38

Closed EricRibeiro closed 1 year ago

EricRibeiro commented 1 year ago

Motivation

Closes #33

Changes

Capture the CLI's exit code and throws it in case of error. This PR also includes minor refactoring to make optional parameters easier to read and pass as arguments to the CLI.