Skip to content

Commit f799c10

Browse files
committed
Fix adding bison to PATH in workflows
1 parent 91d4fc7 commit f799c10

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/actions/verify-generated-files/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ runs:
55
- shell: bash
66
run: |
77
set -x
8-
[[ "$OSTYPE" == "darwin"* ]] && export PATH="/usr/local/opt/bison/bin:$PATH"
8+
[[ "$OSTYPE" == "darwin"* ]] && export PATH="$(brew --prefix)/opt/bison/bin:$PATH"
99
scripts/dev/credits
1010
scripts/dev/genfiles
1111
Zend/zend_vm_gen.php

.github/workflows/nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ jobs:
249249
--${{ matrix.zts && 'enable' || 'disable' }}-zts
250250
- name: make
251251
run: |-
252-
export PATH="/usr/local/opt/bison/bin:$PATH"
252+
export PATH="$(brew --prefix)/opt/bison/bin:$PATH"
253253
make -j$(sysctl -n hw.logicalcpu) >/dev/null
254254
- name: make install
255255
run: sudo make install

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ jobs:
174174
configurationParameters: --enable-debug --disable-zts
175175
- name: make
176176
run: |-
177-
export PATH="/usr/local/opt/bison/bin:$PATH"
177+
export PATH="$(brew --prefix)/opt/bison/bin:$PATH"
178178
make -j$(sysctl -n hw.logicalcpu) >/dev/null
179179
- name: make install
180180
run: sudo make install

0 commit comments

Comments
 (0)