File tree Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Expand file tree Collapse file tree 1 file changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -60,15 +60,13 @@ jobs:
60
60
- name : Run macOS Build
61
61
if : inputs.os_target == 'macos'
62
62
run : |
63
- # Set PATH and env manually to match the shell script
64
- echo "Setting environment vars"
65
- echo 'PATH="/usr/local/bin:/opt/homebrew/bin:$PATH"' >> $GITHUB_ENV
66
- echo 'PROTOBUF_DIR=$HOME/local/protobuf-3.6.1' >> $GITHUB_ENV
67
- echo 'PKG_CONFIG_PATH=$HOME/local/protobuf-3.6.1/lib/pkgconfig:$PKG_CONFIG_PATH' >> $GITHUB_ENV
68
- echo 'LDFLAGS=-L$HOME/local/protobuf-3.6.1/lib $LDFLAGS' >> $GITHUB_ENV
69
- echo 'CPPFLAGS=-I$HOME/local/protobuf-3.6.1/include $CPPFLAGS' >> $GITHUB_ENV
70
- echo 'LD_LIBRARY_PATH=$HOME/local/protobuf-3.6.1/lib:$LD_LIBRARY_PATH' >> $GITHUB_ENV
71
- echo 'PROTOC=$HOME/local/protobuf-3.6.1/bin/protoc' >> $GITHUB_ENV
63
+ export PROTOBUF_DIR="$HOME/local/protobuf-3.6.1"
64
+ export PKG_CONFIG_PATH="$PROTOBUF_DIR/lib/pkgconfig:$PKG_CONFIG_PATH"
65
+ export LDFLAGS="-L$PROTOBUF_DIR/lib $LDFLAGS"
66
+ export CPPFLAGS="-I$PROTOBUF_DIR/include $CPPFLAGS"
67
+ export LD_LIBRARY_PATH="$PROTOBUF_DIR/lib:$LD_LIBRARY_PATH"
68
+ export PATH="$PROTOBUF_DIR/bin:$PATH"
69
+ export PROTOC="$PROTOBUF_DIR/bin/protoc"
72
70
73
71
echo -e "2\ny\ny" | ./build_adventurecoin_mac.sh
74
72
You can’t perform that action at this time.
0 commit comments