跳到主要内容
知仓学习社ZHICANG

github-actions

GitHub Actions workflow patterns for React Native iOS simulator and Android emulator cloud builds with downloadable artifacts. Use when setting up C…

不碰外部(只输出文字)无严重或高危命中callstackincubator/agent-skills

它会碰到什么

扫了多少5 个文本文件,25 KB
它会碰到什么不碰外部(只输出文字)
命中总数12 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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][gha-ios-composite-action] and [gha-android-composite-action.md][gha-android-composite-action].
  2. Wire them into .github/workflows/mobile-build.yml from [gha-workflow-and-downloads.md][gha-workflow-and-downloads].
  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

| File | Description |

|------|-------------|

| [gha-ios-composite-action.md][gha-ios-composite-action] | Composite action.yml for iOS simulator .app.tar.gz builds and artifact upload |

| [gha-android-composite-action.md][gha-android-composite-action] | Composite action.yml for Android emulator .apk builds and artifact upload |

| [gha-workflow-and-downloads.md][gha-workflow-and-downloads] | 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][gha-ios-composite-action] |

| Need CI Android emulator .apk artifact | [gha-android-composite-action.md][gha-android-composite-action] |

| Need one workflow to trigger both platform jobs | [gha-workflow-and-downloads.md][gha-workflow-and-downloads] |

| Need scripted artifact download | [gha-workflow-and-downloads.md][gha-workflow-and-downloads] |

Source Inspiration

[gha-ios-composite-action]: references/gha-ios-composite-action.md

[gha-android-composite-action]: references/gha-android-composite-action.md

[gha-workflow-and-downloads]: references/gha-workflow-and-downloads.md

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。