Github Actions

作者 callstackincubator61e6e7dfdf3aMIT1.6K 個星標收錄於 2026年10月8日更新於 2026年10月8日儲存庫今天更新

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.

僅含說明DevOps & Cloud
AI 產生的概覽

提供 GitHub Actions 工作流程模式,用於在 CI 中建置 React Native 的 iOS 模擬器與 Android 模擬器產物。

功能
此技能提供可重複使用的 GitHub Actions 模式,用於在雲端為 iOS 模擬器與 Android 模擬器建置 React Native 應用程式,並發佈產生的產物。內容涵蓋 iOS 的 .app.tar.gz 與 Android 的 .apk 複合式動作、工作流程串接,以及使用 actions/upload-artifact@v4 上傳產物。它也說明如何透過 gh CLI 或 GitHub REST API 依 ID 或名稱下載產物。
適用情境
適用於建立會建置 React Native 模擬器或模擬器產物的 CI 工作流程,或從提取要求、手動觸發執行中上傳 iOS 模擬器與 Android 模擬器安裝檔。也適合以可下載且 ID 穩定的 CI 產物取代僅限本機的的行動裝置建置。
執行需求
需要 GitHub Actions 作為 CI 環境、用於下載產物的 gh CLI 或 GitHub API 存取權,以及連線至 GitHub 的網路。此技能不含指令碼,僅為說明文件與參考 Markdown 檔案。

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 gh or REST API.

Quick Reference

  1. Add composite actions from gha-ios-composite-action.md [blocked] and gha-android-composite-action.md [blocked].
  2. Wire them into .github/workflows/mobile-build.yml from gha-workflow-and-downloads.md [blocked].
  3. Upload with actions/upload-artifact@v4 and capture artifact-id output.
  4. Download with gh run download or GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}.

References

FileDescription
gha-ios-composite-action.md [blocked]Composite action.yml for iOS simulator .app.tar.gz builds and artifact upload
gha-android-composite-action.md [blocked]Composite action.yml for Android emulator .apk builds and artifact upload
gha-workflow-and-downloads.md [blocked]End-to-end workflow wiring plus gh and REST download commands

Problem -> Skill Mapping

ProblemStart With
Need CI iOS simulator .app.tar.gz artifactgha-ios-composite-action.md [blocked]
Need CI Android emulator .apk artifactgha-android-composite-action.md [blocked]
Need one workflow to trigger both platform jobsgha-workflow-and-downloads.md [blocked]
Need scripted artifact downloadgha-workflow-and-downloads.md [blocked]

Source Inspiration

來源與署名

來源:callstackincubator/agent-skills位於skills/github-actions提交61e6e7d

授權條款: MIT

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架