Build your apps with EAS, without using EAS
<a href="https://github.com/byCedric/gha/actions">
<img src="https://img.shields.io/github/workflow/status/byCedric/eas-gha/Build%20App" alt="latest build" />
</a>
<a href="https://github.com/byCedric/eas-gha/blob/main/LICENSE.md">
<img src="https://img.shields.io/github/license/byCedric/eas-gha" alt="license" />
</a>
<a href="https://github.com/byCedric/eas-gha#-structure"><b>Structure</b></a>
 — 
<a href="https://github.com/byCedric/eas-gha#-workflow"><b>Workflow</b></a>
 — 
<a href="https://github.com/byCedric/eas-gha#-how-to-use-it"><b>How to use it</b></a>
 — 
<a href="https://github.com/byCedric/eas-gha#%EF%B8%8F-caveats"><b>Caveats</b></a>
The app is based on the tabs template, just as example.
The workflow is a simple GitHub Actions workflow using expo-github-action, eas build --local command, and uploading artifacts to the workflow run.
By default, the workflow is only running when you trigger it manually. But you can customize it however you like. Just make sure you are running the eas build --local command with the right --platform and --profile flags.
Ubuntu is the fastest environment of GitHub Actions, but to support iOS builds we need to use macOS. You can optimize this by changing the OS per platform.
Right now, the local app binary has a name with a colon. actions/upload-artifact doesn't accept colon in files, so we need to rename it before uploading. (more info here)
As of writing, the eas build --local command can only build a single platform per execution. You can run it multiple times in your workflow, but only for a single platform per run.
If you want to fully disconnect from Expo services, you'll need to maintain the keystore or certificates yourself. You can do that by configure EAS with local credentials. When your CI provider doesn't allow you to add "secret files", like GitHub Actions, you can encode these files to base64 strings and decode whenever you need it.
It's highly recommended to keep keystores and certificates out of your repository to avoid security issues.
with :heart: byCedric
$ claude mcp add eas-gha \
-- python -m otcore.mcp_server <graph>