Open homapf opened 3 months ago
I'm slightly confused, does the main Unity Editor install function not install all the necessary modules already? It looks like the ensure function that's been added is doing the same install process but using the install-modules command instead.
From what I can see, this installs Unity and the module twice if it wasn't already installed. Usually you'd expect ephemeral runners.
I'm not sure if this PR's solution to making sure the right module is installed in case of a non ephemeral runner is comprehensive enough. At the very least we must verify that this doesn't run the install twice for users that do not have this use case.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Changes
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.
Checklist
Summary by CodeRabbit