G
github-actions
About github-actions
Reusable GitHub Actions patterns for building React Native simulator and emulator apps in CI. The guide covers artifact uploads and retrieval through `gh` CLI or the GitHub API.
Key features
- 01iOS simulator build actions
- 02Android emulator build actions
- 03Workflow setup for both platforms
- 04Artifact upload with stable IDs
- 05Artifact downloads via `gh` or REST
Use cases
- 01Publishing simulator builds from pull requests
- 02Creating downloadable Android emulator APKs
- 03Replacing local builds with CI artifacts
- 04Scripting artifact retrieval by ID
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ callstackincubator/ agent-skills --skill github-actionsAfter installing, type/github-actionsin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
agents/openai.yamlreferences/gha-android-composite-action.mdgha-ios-composite-action.mdgha-workflow-and-downloads.mdDetails
From the project READMEGitHub Actions Build Artifacts
Overview
Reusable GitHub Actions patterns to build React Native apps for iOS simulators and Android emulators in the cloud, then publish artifacts retrievable via gh CLI or GitHub API.
When to Apply
Use this skill when:
- Creating CI workflows that build React Native simulator/emulator artifacts.
- Uploading iOS simulator and Android emulator installables from PRs or manual dispatch runs.
- Replacing local-only mobile builds with downloadable CI artifacts.
- Needing stable artifact IDs/names for scripted retrieval with
ghor REST API.
Quick Reference
- Add composite actions from gha-ios-composite-action.md and gha-android-composite-action.md.
- Wire them into
.github/workflows/mobile-build.ymlfrom gha-workflow-and-downloads.md. - Upload with
actions/upload-artifact@v4and captureartifact-idoutput. - Download with
gh run downloadorGET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}.
References
| File | Description |
|---|---|
| gha-ios-composite-action.md | Composite action.yml for iOS simulator .app.tar.gz builds and artifact upload |
| gha-android-composite-action.md | Composite action.yml for Android emulator .apk builds and artifact upload |
| gha-workflow-and-downloads.md | End-to-end workflow wiring plus gh and REST download commands |
Problem -> Skill Mapping
| Problem | Start With |
|---|---|
Need CI iOS simulator .app.tar.gz artifact | gha-ios-composite-action.md |
Need CI Android emulator .apk artifact | gha-android-composite-action.md |
| Need one workflow to trigger both platform jobs | gha-workflow-and-downloads.md |
| Need scripted artifact download | gha-workflow-and-downloads.md |
Source Inspiration
Comments
Markdown supported