setup-unity
setup-unity copied to clipboard
sudo permistion on self-hosted macos runner
Hello! I'm trying setup unity on my self-hosted runner under MacOS.
It looks like some of the scripts in setup.js require sudo permission and it is not working on self-hosted runner.
await execute(`sudo mkdir -p "${installPath}"`);
await execute(`sudo chmod -R o+rwx "${installPath}"`);
Is there is any workaround?
Small update here - I forked and removed all sudo's from script and it works well on self-hosted runner on my macos machine. Didn't test it in any other enviroment btw.
=> https://github.com/kuler90/setup-unity/pull/11
Let's wait the author for a official release