Skip to content

Commit 5bd8cc0

Browse files
committed
updated build-php-wrapper to support mac
Signed-off-by: Alex Le <alex.le@improving.com>
1 parent 7f5b622 commit 5bd8cc0

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build-php-wrapper/action.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ runs:
2525
with:
2626
php-version: ${{ inputs.php-version }}
2727
extensions: tokenizer, json, ctype, iconv, mbstring
28-
tools: none
28+
tools: composer
2929
env:
3030
runner: self-hosted
3131

@@ -56,7 +56,7 @@ runs:
5656
if: ${{ inputs.os == 'macos' }}
5757
shell: bash
5858
run: |
59-
brew install autoconf automake libtool pkg-config protobuf@3 openssl clang-format
59+
brew install autoconf automake libtool pkg-config protobuf openssl clang-format
6060
6161
- name: Install protobuf compiler (Ubuntu)
6262
if: ${{ inputs.os == 'ubuntu' }}
@@ -77,7 +77,7 @@ runs:
7777
if: ${{ inputs.os == 'macos' }}
7878
shell: bash
7979
run: |
80-
echo 'export PATH="/opt/homebrew/opt/protobuf@3/bin:$PATH"' >> $GITHUB_ENV
80+
echo 'export PATH="/opt/homebrew/opt/protobuf/bin:$PATH"' >> $GITHUB_ENV
8181
# Install protobuf-c
8282
brew install protobuf-c
8383
@@ -111,6 +111,7 @@ runs:
111111
fi
112112
113113
- name: Install zig
114+
if: ${{ inputs.os != 'macos' }}
114115
uses: ./.github/workflows/install-zig
115116

116117
- name: Setup sccache

0 commit comments

Comments
 (0)