File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -57,18 +57,16 @@ jobs:
57
57
run : |
58
58
echo -e "2\ny\ny\ny\ny\ny" | ./build_adventurecoin_ubuntu.sh
59
59
60
- - name : Install Protobuf (macOS)
60
+ - name : Remove conflicting Protobuf versions (macOS)
61
61
if : inputs.os_target == 'macos'
62
62
run : |
63
- brew install protobuf@3
64
- echo 'PATH="/opt/homebrew/opt/protobuf@3/bin:$PATH"' >> $GITHUB_ENV
65
- echo 'LDFLAGS="-L/opt/homebrew/opt/protobuf@3/lib $LDFLAGS"' >> $GITHUB_ENV
66
- echo 'CPPFLAGS="-I/opt/homebrew/opt/protobuf@3/include $CPPFLAGS"' >> $GITHUB_ENV
67
- echo 'PKG_CONFIG_PATH="/opt/homebrew/opt/protobuf@3/lib/pkgconfig:$PKG_CONFIG_PATH"' >> $GITHUB_ENV
63
+ brew uninstall --ignore-dependencies protobuf || true
64
+ brew cleanup
68
65
69
66
- name : Run macOS Build
70
67
if : inputs.os_target == 'macos'
71
68
run : |
69
+ export PATH="$HOME/local/protobuf-3.6.1/bin:$PATH"
72
70
echo -e "2\ny\ny" | ./build_adventurecoin_mac.sh
73
71
74
72
- name : Upload to GitHub Release
You can’t perform that action at this time.
0 commit comments