Repository navigation
ci(ios): 去掉 iOS IPA 的 push 触发,main 上只由 Beta 出 ipa - #832
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
推 main 时只让 Beta 工作流出一份 iOS ipa,不再多占一台 macos-15 机器。
现在每次推 main 会打两份 iOS 包。#691 给
iOS IPA加了 push 触发。#715 让 Beta 通过 workflow_call 调用ios-ipa.yml时,为了兼容保留了这个 push 触发。结果两份构建抢同一批 macos-15 机器,Beta 的ios / ipa排不上队,最后被取消,beta 发不出来。单独 push 跑出的那份只上传保留 14 天的 artifact,不上 TestFlight,也没有下游在用,和 Beta 那份完全重复。What changed
.github/workflows/ios-ipa.yml删掉push触发,保留pull_request、workflow_dispatch和workflow_call。输入、并发组和 artifact 命名都没改。顶部注释和并发组注释同步更新。packages/ios-app/README.md的 CI 产物说明改为:main 上的 ipa 由 Beta 产出,放在内测 Release 里;PR 改到 iOS 相关路径时仍会单独构建检查;需要时可以手动触发。docs/self-host-relay.md引用的CODE_SIGNING_ALLOWED=NO行号从:80改为:70。Blast Radius
只改 CI 触发条件和文档。Beta 的
iosjob 仍是uses: ./.github/workflows/ios-ipa.yml加with: version,不依赖 push 触发。Verification
yaml解析两个 workflow。ios-ipa.yml的触发器是workflow_call、pull_request、workflow_dispatch。beta.yml的jobs.ios仍是uses加with.version。.github/workflows的测试,所以没有可跑的 workflow 测试。pnpm typecheck和pnpm lint都通过。