From 9df71f7f25cf5dc6d3ed8aec9bb7b7d94c060864 Mon Sep 17 00:00:00 2001 From: Niklas van Schrick Date: Wed, 31 Jul 2024 22:33:43 +0200 Subject: [PATCH] Add install for protoc --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2ac52db..4b4f8c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -40,8 +40,10 @@ jobs: - name: Setup rust run: rustup update --no-self-update stable - name: Install protoc - run: sudo apt-get update && sudo apt-get install protobuf-compiler -y && protoc --version + run: curl -LO https://github.com/protocolbuffers/protobuf/releases/download/v28.0-rc1/protoc-28.0-linux-x86_64.zip && unzip protoc-28.0-linux-x86_64.zip -d /proto-bin && chmod +x /proto-bin/bin/protoc && /proto-bin/bin/protoc --version - name: Build crate run: cargo build + env: + PROTOC: /proto-bin/bin/protoc - name: Package crate run: cargo package