requirements for self-hosted runners #4595
-
Output of
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Ultimately it's up to you and how you prefer to set it up. The installer can work non-interactively, so the answer is go with whatever works best for your setup. For our own self-hosted runners, what we do is install brew on the runner and make sure it is up-to-date with our The default 3rd party workflows assume Homebrew is already installed because that's how it is for GitHub-hosted runners. If your runners are not ephemeral, installing on the machine itself makes sense as you only ever need to do so once. But if it's easier for you to do it in the workflow, then that's fine. |
Beta Was this translation helpful? Give feedback.
Ultimately it's up to you and how you prefer to set it up. The installer can work non-interactively, so the answer is go with whatever works best for your setup.
For our own self-hosted runners, what we do is install brew on the runner and make sure it is up-to-date with our
Homebrew/actions/setup-homebrew
action, though our setup also doesn't allowsudo
that may be necessary to install Homebrew so it's not as if there was a choice for our setup anyway. Also note thesetup-homebrew
action only designed to work when a Homebrew install is already present, at least for now, so if you do install in the workflow you will need to do it before that action if you are using it.The default 3rd par…