Doesn't work with `ruby/setup-ruby`'s `bundler-cache: true`
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- github-actions, macos, ruby, typescript
调研方向
Reproduce the workflow using ruby/setup-ruby@v1 with bundler-cache: true and mxcl/xcodebuild@v1, then inspect how the action invokes xcpretty. Done means the workflow succeeds with the cache enabled and no longer reports spawn xcpretty ENOENT when xcpretty is installed through Bundler.
由索引模型根据 Issue 内容生成。
描述
We've got a build that looks something like:
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- uses: mxcl/xcodebuild@v1
with:
working-directory: app/ios
scheme: AppTests
platform: iOS
When there's no bundler-cache, the build succeeds. When bundler-cache is true, the xcodebuild step fails:
xcodebuild test
Error: spawn xcpretty ENOENT
at Process.ChildProcess._handle.onexit (node:internal/child_process:282:[19](https://github.com/squareup/wallet/actions/runs/3318014846/jobs/5481488702#step:7:20))
at onErrorNT (node:internal/child_process:477:16)
at processTicksAndRejections (node:internal/process/task_queues:83:[21](https://github.com/squareup/wallet/actions/runs/3318014846/jobs/5481488702#step:7:22))
I lightly suspect it's because setup-ruby changes the bundle configuration. Is there a way for xcodebuild to detect that xcpretty was installed via bundle and to run bundle exec xcpretty instead?
- 主要语言
- TypeScript
- 星标
- 353
- 派生
- 36
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
mxcl/xcodebuild 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 35/100
mxcl/xcodebuild#113 · 1 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
mxcl/xcodebuild#107 ·
-
难度 3/5 1-2 天 新手友好度 35/100
mxcl/xcodebuild#85 · 3 条评论 ·
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 85/100
siyuan-note/siyuan#20040 ·
维护者通常 1 天内回复
-
enhancement
难度 2/5 1-3 小时 新手友好度 72/100
RunestoneInteractive/rs#1574 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
remotion-dev/remotion#11901 ·
维护者通常 1 天内回复
-
Poll constructor throws for an uncached channel while resolving a message context-menu interaction未关闭bug need repro packages:discord.js
难度 2/5 1-3 小时 新手友好度 82/100
discordjs/discord.js#11645 ·
维护者通常 3 天内回复
-
🐞 bug
难度 2/5 1-3 小时 新手友好度 72/100
Sitecore/content-sdk#641 ·
维护者通常 2 天内回复