unity-builder
unity-builder copied to clipboard
Force module install on Mac
Changes
- On Mac, adding a step to make sure the native module is installed for the current platform.
Related Issues
On Mac, Unity is installed automatically with the right module. But if Unity is already installed with the wrong module on the machine, it will run without installing the missing module.
Successful Workflow Run Link
PRs don't have access to secrets so you will need to provide a link to a successful run of the workflows from your own repo.
- I can look into running tests on our repo if really needed but our current setup doesn't allow it.
Checklist
- [x] Read the contribution guide and accept the code of conduct
- [x] Docs (If new inputs or outputs have been added or changes to behavior that should be documented. Please make a PR in the documentation repo)
- [x] Readme (updated or not needed)
- [x] Tests (added, updated or not needed)
Summary by CodeRabbit
- New Features
- Enhanced setup process for Mac by ensuring required modules are installed automatically based on build parameters.
- Bug Fixes
- Improved control flow in the setup method to prevent proceeding without necessary module installations.