Dedicated Macs

Your own GitHub Actions runner

Last updated 24 November 2026

Rent a whole Apple M6 Mac mini and make it a self-hosted runner for your repositories. Your jobs run on a machine nobody else uses, its disk keeps your caches between runs, and you pay a flat price instead of by the minute.

01Set it up

Sign in to your Mac over SSH (the command is on your machine page and in Connecting to your Mac), then download the script and run it with your repository's address. For a runner shared by a whole organisation, use the organisation's address instead.

curl -fsSLO https://macbuildcloud.com/scripts/github-runner.sh
bash github-runner.sh install https://github.com/you/your-app

It asks for a registration token. Get one on GitHub under Settings → Actions → Runners → New self-hosted runner: it is the value after --token in the Configure step, and it is valid for one hour. The token is read from the keyboard; it is not shown on screen or saved to disk.

Then point a workflow at the runner:

jobs:
  build:
    runs-on: [self-hosted, macbuildcloud]

02What the script does

You can read the whole script before you run it. Two more commands: bash github-runner.sh status shows whether the runner is running, and bash github-runner.sh remove unregisters it from GitHub and deletes it.

03What we tested

On 24 November 2026 we ran the script on a fresh macOS virtual machine with Xcode 27.2, under a standard user set up the same way as a rental account. In order:

InstallRegistered and online on GitHub
A real workflowsw_vers, xcodebuild -version and whoami ran on the runner; the job finished with Succeeded
RestartAfter the machine was shut down and started again, the runner came back on its own with nobody logged in
RemoveUnregistered from GitHub; the runner folder, the crontab line and the process were all gone

04Good to know

05What it costs

A dedicated Mac mini (Apple M6, 24 GB memory, 512 GB SSD) is $14.99 a day, $69 a week or $199 a month, with no contract and no setup fee. The minimum is 24 hours, and your first machine comes with a first-day money-back guarantee. Full details are on the pricing page.