unity-builder
unity-builder copied to clipboard
WIP: macOS module support & Android Library Support
Changes
This is a WIP PR (as we needed the fixes for our processes), as I didn't have enough time to go through the checklist and Windows is still missing Android Library support.
So there are several changes:
- Injected build script now uses
exportAsGoogleAndroidProjectsetting and applies it correctly. - Injected build script now applies
buildAppBundlesetting, if set specifically. Default remains that it's read from.aabin build path filename. This enables the setting to be applied while exporting the project. - If
exportAsGoogleAndroidProjectis enabled, filename doesn't include.aabor.apkanymore, thus giving us backwards support, otherwise the behaviour is the same as previously. Enable the setting in your workflow:exportAsGoogleAndroidProject: true - MacOS Setup now correctly installs modules for Mac, iOS, tvOS and Android, which allows you to perform all of those builds (for some reason, Ubuntu on GitHub Actions has issues building iOS projects, but Mac works, didn't look into details, but scenes are corrupted and game crashes at launch time).
Let me know your feedback and proposed changes. I'll also need help with testing, as we don't use Ubuntu machines much. Use blubblub/[email protected] to test the action.
Checklist
- [x] Read the contribution guide and accept the code of conduct
- [ ] Readme (updated or not needed)
- [ ] Tests (added, updated or not needed)

Is this something you intend to finish or shall we close?
Done by https://github.com/game-ci/unity-builder/pull/505