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
- 星號
- 352
- 分支
- 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
-
bug
難度 2/5 1-3 小時 新手友好度 76/100
awslabs/visual-asset-management-system#804 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 70/100
restatedev/sdk-typescript#813 ·
-
bug desktop P1 session XS
難度 2/5 1-3 小時 新手友好度 82/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 62/100
Merit-Systems/x402scan#1312 ·
-
type:bug
難度 2/5 1-3 小時 新手友好度 78/100
Azure/apiops-cli#331 ·
維護者通常 3 天內回覆