kuler90 / setup-unity

GitHub Action to download and install Unity on Ubuntu, macOS or Windows. Based on Unity Hub
MIT License
37 stars 33 forks source link

sudo permistion on self-hosted macos runner #3

Closed imurashka closed 1 year ago

imurashka commented 3 years ago

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 commented 3 years ago

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.

HanzaRu commented 2 years ago

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

Let's wait the author for a official release