Skip to content

Commit 3143b7c

Browse files
zzl0facebook-github-bot
authored andcommitted
oss: increase HOMEBREW_FAIL_LOG_LINES for macOS
Summary: have more context about the error for debugging Reviewed By: quark-zju, sggutier Differential Revision: D51282332 fbshipit-source-id: 7d6666ff16b3181f5a9c70303eca1fc6f6ddb631
1 parent ea9c9af commit 3143b7c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/sapling-cli-homebrew-macos-arm64-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
2828
-o $(brew --repository)/Library/Taps/homebrew/homebrew-core/Formula/s/sapling.rb'
2929
- name: Install and build Sapling bottle
30-
run: HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-bottle sapling
30+
run: HOMEBREW_NO_INSTALL_FROM_API=1 HOMEBREW_FAIL_LOG_LINES=100 brew install --build-bottle sapling
3131
- name: Create Sapling bottle
3232
run: HOMEBREW_NO_INSTALL_FROM_API=1 brew bottle sapling
3333
- name: Rename bottle to some platform specific name

.github/workflows/sapling-cli-homebrew-macos-x86-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
2828
-o $(brew --repository)/Library/Taps/homebrew/homebrew-core/Formula/s/sapling.rb'
2929
- name: Install and build Sapling bottle
30-
run: HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-bottle sapling
30+
run: HOMEBREW_NO_INSTALL_FROM_API=1 HOMEBREW_FAIL_LOG_LINES=100 brew install --build-bottle sapling
3131
- name: Create Sapling bottle
3232
run: HOMEBREW_NO_INSTALL_FROM_API=1 brew bottle sapling
3333
- name: Rename bottle to some platform specific name

ci/gen_workflows.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ def gen_homebrew_macos_release(self, arch, target, runson, mac_release) -> str:
384384
},
385385
{
386386
"name": "Install and build Sapling bottle",
387-
"run": "HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-bottle sapling",
387+
"run": "HOMEBREW_NO_INSTALL_FROM_API=1 HOMEBREW_FAIL_LOG_LINES=100 brew install --build-bottle sapling",
388388
},
389389
{
390390
"name": "Create Sapling bottle",

0 commit comments

Comments
 (0)