github-actions
GitHub Actions workflow patterns for React Native iOS simulator and Android emulator cloud builds with downloadable artifacts. Use when setting up CI build pipelines or downloading GitHub Actions artifacts via gh CLI and GitHub API.
Security Assessment
About github-actions
The github-actions skill provides reusable workflow patterns specifically designed for building React Native applications for iOS simulators and Android emulators in a cloud environment. It addresses the common challenge of automating mobile app builds while ensuring that artifacts are easily retrievable and manageable. By leveraging GitHub Actions, this skill enables developers to replace local-only mobile builds with CI/CD workflows that produce stable artifacts accessible through the GitHub CLI or API. This streamlines the process of integrating continuous integration pipelines for mobile apps and reduces the overhead associated with managing local build environments.
Key features of the github-actions skill include pre-configured composite actions for iOS and Android builds, automated artifact uploads, and standardized artifact naming conventions for reliable retrieval. The skill supports uploading iOS simulator `.app.tar.gz` files and Android emulator `.apk` files from pull requests or manually triggered workflows. Developers can use the `gh` CLI or GitHub REST API to download artifacts programmatically, ensuring consistent access to build outputs. The provided workflow patterns allow for combining multiple platform builds into a single orchestrated pipeline, making cross-platform CI management more efficient and maintainable.
This skill is particularly useful for development teams working with React Native who require automated cloud builds and artifact management. It benefits CI/CD engineers, mobile developers, and DevOps professionals looking to integrate mobile app builds into existing GitHub workflows. Common use cases include setting up continuous integration pipelines for pull requests, generating build artifacts for testing or distribution, and enabling scripted downloads for deployment or QA automation. By adopting these patterns, teams can ensure faster, more reliable build processes and simplify the retrieval of mobile app artifacts across different platforms.
FAQ
How do I integrate the github-actions skill into my workflow?
Add the composite actions for iOS and Android builds to your repository, then wire them into a workflow file such as `.github/workflows/mobile-build.yml`. Use `actions/upload-artifact@v4` to upload build outputs and capture the artifact ID for retrieval.
Which platforms and build artifacts are supported?
The skill supports React Native apps for iOS simulators (`.app.tar.gz`) and Android emulators (`.apk`). Both types of artifacts can be uploaded and retrieved via GitHub Actions workflows.
Can artifacts be downloaded programmatically?
Yes, you can use the GitHub CLI with `gh run download` or the REST API endpoint `GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}` to programmatically download build artifacts.
Are local builds required when using this skill?
No, the skill is designed to replace local-only builds. All builds can be executed in the cloud through GitHub Actions, with artifacts accessible for testing or distribution.
What are the prerequisites for using this skill?
You need a GitHub repository with React Native code and permissions to create GitHub Actions workflows. The workflows rely on the `gh` CLI or GitHub API for downloading artifacts.
Install github-actions
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
callstackincubator/agent-skills