Skip to content

Commit 1a04dc2

Browse files
committed
Fix adding bison to PATH in workflows
1 parent acc19fc commit 1a04dc2

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
@@ -219,7 +219,7 @@ jobs:
219219
--${{ matrix.zts && 'enable' || 'disable' }}-zts
220220
- name: make
221221
run: |-
222-
export PATH="/usr/local/opt/bison/bin:$PATH"
222+
export PATH="$(brew --prefix)/opt/bison/bin:$PATH"
223223
make -j$(sysctl -n hw.logicalcpu) >/dev/null
224224
- name: make install
225225
run: sudo make install

.github/workflows/push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
configurationParameters: --enable-debug --disable-zts
125125
- name: make
126126
run: |-
127-
export PATH="/usr/local/opt/bison/bin:$PATH"
127+
export PATH="$(brew --prefix)/opt/bison/bin:$PATH"
128128
make -j$(sysctl -n hw.logicalcpu) >/dev/null
129129
- name: make install
130130
run: sudo make install

0 commit comments

Comments
 (0)