Run Builds on Helm
Helm can run your GitHub Actions jobs on its own build machines: macOS machines with Xcode for
iOS apps, and Linux machines for Android apps. This page explains how to connect your
repositories, which runs-on labels send a job to Helm, what each build machine
has installed, and what a job can and cannot reach.
What you're about to do, in plain English
GitHub Actions runs each job in a workflow on a runner: a machine that takes
the job, runs its steps and reports the result. A job's runs-on line says which kind
of runner it needs. GitHub's own runners have labels such as ubuntu-latest and
macos-15. Helm's runners have labels that start with helm-.
When a job asks for a Helm label, GitHub tells Helm through the Helm GitHub App. Helm starts a new, clean virtual machine for that one job, registers a single-use runner in it, lets GitHub run the job, and then deletes the virtual machine. A virtual machine is a complete, separate computer that runs in software on one of Helm's build machines.
Setup has three parts:
- Connect GitHub so Helm receives your repositories' jobs.
- Change
runs-onin each job that should run on Helm. - Check your build steps against what the build machines provide (below).
Step 1 — Connect GitHub
Helm runs jobs only for GitHub accounts that are connected to your Helm organization. An Owner or Admin of the organization clicks Connect GitHub in Company settings → GitHub, installs the Helm GitHub App on the GitHub account that owns the repositories, and selects every repository whose jobs should run on Helm. Each step, including what to do when a GitHub organization owner must approve the App, is in Connect GitHub for PR Previews.
Jobs from a newly connected account can run on Helm within about a minute. You do not add a webhook, a runner token or any other secret to your repositories.
Step 2 — Choose the runs-on label
A job reaches Helm only when its runs-on line names a Helm label. GitHub's own
labels never send a job to Helm, even on a connected repository:
ubuntu-latest, macos-latest, macos-15 and the other
macos-* labels run on GitHub's machines, and self-hosted on its own
matches no Helm runner. A job that names only self-hosted waits until GitHub gives up.
| Label | Use it for | Full runs-on line |
|---|---|---|
helm-macos-26 |
iOS, iPadOS and other Xcode builds and tests | runs-on: [self-hosted, macOS, ARM64, helm-macos-26] |
helm-linux-android |
Android builds, unit tests and emulator tests | runs-on: [self-hosted, Linux, X64, helm-linux-android] |
The Helm label alone, for example runs-on: helm-macos-26, is enough. The longer
form also names GitHub's standard labels for the operating system and the processor, which
every Helm runner has. If you add those labels, they must match the Helm label: a job that asks
for Linux and helm-macos-26 never starts.
What each build machine has
macOS (helm-macos-26)
- macOS 26 on Apple Silicon (64-bit ARM,
arm64). - Xcode 27.1 at
/Applications/Xcode.app. - The iOS 27.0 and iOS 27.1 simulator runtimes.
- No Android SDK, Android Studio or Java. Run Android jobs on
helm-linux-android.
For other tools, such as Ruby, Bundler, fastlane and CocoaPods, install what your build needs in
the job, for example with ruby/setup-ruby and bundle install, so the
job does not depend on what happens to be on the machine.
Linux for Android (helm-linux-android)
- Ubuntu 26.04 on 64-bit x86 (
x64), with 4 processor cores and 16 GiB of memory for each job. - The Android SDK at
/opt/android-sdk, withANDROID_HOMEset to that folder. - The Android emulator, with hardware acceleration, so instrumented tests can run in the job.
- Docker.
- Java: JDK 17 as the default and JDK 21 as well.
- Android build-tools 35 and 36 and platforms 35 and 36, and fastlane.
Gradle itself comes from your project's Gradle wrapper (./gradlew), which downloads
the version your project names.
Each job starts from a clean machine
Every job runs in a new virtual machine that is deleted when the job ends, whether it passed or failed. This has some consequences:
- Nothing carries over between jobs. Files, installed tools, simulators you created, keychains and anything written to disk are gone after the job. Two jobs in the same workflow run do not share a disk either: pass files between jobs with
actions/upload-artifactandactions/download-artifact. - The only thing that carries over is the build cache. To reuse downloaded packages or build outputs, save them with the Helm build cache action; see Caching.
- No other job can see your job's files or secrets, and your job cannot see theirs.
- You do not need to clean up at the end of a job, for example by deleting a temporary keychain. It is still a good habit, so the same workflow also works on other runners.
Network access from a job
- The internet works, over HTTPS and other common protocols, so jobs can download packages, call APIs and upload to App Store Connect, Google Play and Helm.
- SSH on port 22 does not work. Use HTTPS addresses for git, including private repositories, Swift packages, CocoaPods sources and fastlane
matchcertificate repositories. - Private networks do not work. A job cannot reach your company's own network or servers on private addresses. Give the job a public address for any service it needs.
fastlane on Helm
fastlane works as it does on any runner. A few settings avoid the problems we see most often:
- Run fastlane through Bundler (
bundle exec fastlane ...) with aGemfileandGemfile.lockin the repository, so every job uses the same fastlane version. - Use
setup_ciat the start of lanes that sign, so fastlane creates a temporary keychain for the job instead of using the machine's. - For
match, use the HTTPS address of your certificates repository inMATCH_GIT_URL, because SSH does not work. Put the credential inMATCH_GIT_BASIC_AUTHORIZATIONas plain base64 ofusername:token, with no spaces or line breaks. - Make a refused git credential fail at once instead of waiting for someone to type a password. Set these variables on the job:
env: GIT_TERMINAL_PROMPT: "0" GIT_CONFIG_COUNT: "1" GIT_CONFIG_KEY_0: credential.helper GIT_CONFIG_VALUE_0: "" - Give each lane one job to do, for example
test,buildandrelease, and call one lane per workflow step. The Example Workflows page uses lanes named this way.
Secrets and OIDC tokens
GitHub passes your repository's secrets to jobs on Helm the same way as to its own runners. A
job can also ask GitHub for an OIDC token, which lets it call Helm's build and preview APIs
without a stored Helm key; add permissions: id-token: write to the workflow. See
Upload Builds from CI
and Set Up PR Previews.
Troubleshooting
The job never starts: "Waiting for a runner to pick up this job"
Check these in order:
- The label. The
runs-online must name a Helm label exactly, such ashelm-macos-26. GitHub's labels (ubuntu-latest,macos-*) andself-hostedalone never reach Helm. - Matching labels. If the line also names an operating system or processor, it must match:
macOSandARM64withhelm-macos-26,LinuxandX64withhelm-linux-android. - The GitHub connection. Company settings → GitHub must show the repository's GitHub account as connected, and the Helm GitHub App must have access to the repository. If someone uninstalled or suspended the App, jobs stop within a minute.
- All machines are busy. When every Helm build machine of that kind is running a job, a new job waits for one to finish. It starts by itself.
If the job still has not started after 15 minutes, contact Helm support with the link to the job.
A git, Swift package or match step cannot connect
The address probably uses SSH ([email protected]:... or ssh://). Change it to the https:// address.
A match or git step hangs for minutes
git is waiting for someone to type a password, because GitHub refused the credential. Set the
four GIT_ variables shown under "fastlane on Helm" so the step fails at once with
GitHub's answer, then fix the credential. Check that MATCH_GIT_BASIC_AUTHORIZATION
is plain base64 with nothing else in it.
A tool or simulator I need is missing
Install the tool in the job, or cache it with the build cache. Each job starts from the same clean machine, so a tool you installed in an earlier job is not there. If you need a different Xcode, simulator runtime or Android component on the machines themselves, contact Helm support.
The job is slower than on my own Mac
Every job starts without the packages and build outputs your own computer keeps. Save them with the build cache; see Caching.