From 1e4cf62a5fb9313f233a70c54b895da2f8ba32e6 Mon Sep 17 00:00:00 2001 From: Hans Oskar Aaviksoo Date: Wed, 16 Oct 2024 11:10:35 +0300 Subject: [PATCH] RES-1545: Fetch the latest protoc for pathfinder --- scripts/pathfinder/build.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/pathfinder/build.sh b/scripts/pathfinder/build.sh index a8ee6dc..303550e 100644 --- a/scripts/pathfinder/build.sh +++ b/scripts/pathfinder/build.sh @@ -4,6 +4,11 @@ set -euo pipefail cd "${DEPOT_PROJECT_NAME}" mkdir bin +curl -OL https://github.com/google/protobuf/releases/download/v3.15.8/protoc-3.15.8-linux-x86_64.zip +unzip protoc-3.15.8-linux-x86_64.zip -d protoc3 +sudo mv protoc3/bin/* /usr/local/bin/ +sudo mv protoc3/include/* /usr/local/include/ + cargo build --release --bin pathfinder build_binaries="$(deno run --allow-read --allow-env ../utils/binaries.ts)"