Skip to content

Commit 7cfe07c

Browse files
authored
Fix ci failed on macos env. (#288)
1 parent 8d5a412 commit 7cfe07c

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

.github/workflows/ci-pr-validation.yaml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,11 @@ jobs:
4949
5050
- name: Install deps (macOS)
5151
if: ${{ startsWith(matrix.os, 'macos') }}
52-
run:
53-
brew install pkg-config wireshark protobuf
52+
run: |
53+
# Install protobuf v21.12
54+
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/2d47ed2eac09d59ffc2c92b1d804f1c232188c88/Formula/protobuf.rb
55+
brew install --formula ./protobuf.rb
56+
brew install pkg-config wireshark
5457
5558
- name: Build wireshark plugin
5659
run: |
@@ -267,7 +270,11 @@ jobs:
267270
uses: actions/checkout@v3
268271

269272
- name: Install dependencies
270-
run: brew install openssl protobuf boost zstd snappy googletest
273+
run: |
274+
# Install protobuf v21.12
275+
wget https://raw.githubusercontent.com/Homebrew/homebrew-core/2d47ed2eac09d59ffc2c92b1d804f1c232188c88/Formula/protobuf.rb
276+
brew install --formula ./protobuf.rb
277+
brew install openssl boost zstd snappy googletest
271278
272279
- name: Configure (default)
273280
shell: bash

0 commit comments

Comments
 (0)