setup-unity icon indicating copy to clipboard operation
setup-unity copied to clipboard

sudo permistion on self-hosted macos runner

Open imurashka opened this issue 3 years ago • 2 comments

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?

imurashka avatar Aug 22 '21 08:08 imurashka

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.

imurashka avatar Aug 26 '21 08:08 imurashka

=> https://github.com/kuler90/setup-unity/pull/11

Let's wait the author for a official release

HanzaRu avatar Aug 07 '22 21:08 HanzaRu