diff --git a/.github/workflows/scripts/build_protobuf.sh b/.github/workflows/scripts/build_protobuf.sh index 5d1415921..b36c32806 100644 --- a/.github/workflows/scripts/build_protobuf.sh +++ b/.github/workflows/scripts/build_protobuf.sh @@ -1,7 +1,7 @@ git clone https://github.com/protocolbuffers/protobuf.git cd protobuf -git submoduleu update --init +git submodule update --init git checkout v4.22.0 mkdir build_source && cd build_source cmake ../cmake -DCMAKE_INSTALL_PREFIX=${PWD}/installed_protobuf_lib -Dprotobuf_BUILD_SHARED_LIBS=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -Dprotobuf_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release