SKILL.md
GitHub 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
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
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
Need CI Android emulator .apk artifact
gha-android-composite-action.md
Need one workflow to trigger both platform jobs
Need scripted artifact download