Skip to content

Commit e98d6f5

Browse files
authored
fix(ci): Fix brew not installing local formulas (#6021)
1 parent be8375a commit e98d6f5

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/benchmarking.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ jobs:
4646
bundler-cache: true
4747
- name: Install old xcodegen
4848
# Install xcodegen 2.43.0 for since newer versions don't work with Xcode older than Xcode 16
49+
# We need to set HOMEBREW_DEVELOPER=1 to allow installing from a local formula
4950
run: |
50-
brew install --formula ./scripts/xcodegen.rb
51+
HOMEBREW_DEVELOPER=1 brew install --formula ./scripts/xcodegen.rb
5152
brew pin xcodegen
5253
- run: make init-ci-build
5354
- run: make xcode-ci

.github/workflows/ui-tests-common.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,9 @@ jobs:
5959
- name: Install old xcodegen
6060
if: ${{ inputs.xcode_version == '14.3.1' || inputs.xcode_version == '15.4' }}
6161
# Install xcodegen 2.43.0 for since newer versions don't work with Xcode older than Xcode 16
62+
# We need to set HOMEBREW_DEVELOPER=1 to allow installing from a local formula
6263
run: |
63-
brew install --formula ./scripts/xcodegen.rb
64+
HOMEBREW_DEVELOPER=1 brew install --formula ./scripts/xcodegen.rb
6465
brew pin xcodegen
6566
6667
- name: Select Xcode version

0 commit comments

Comments
 (0)