Skip to content

Commit

Permalink
fix: protoc test.
Browse files Browse the repository at this point in the history
  • Loading branch information
l-monninger committed Nov 30, 2023
1 parent bd3a3a6 commit fc37328
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions .github/actions/setup-linux-x86_64/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,20 @@ runs:
- name: Install build essentials
run: |
sudo apt-get update
sudo apt-get install -y build-essential lld libpq-dev
# Install Protocol Buffers Compiler (protoc)
sudo apt-get install -y protobuf-compiler
sudo apt-get install -y build-essential lld libpq-dev unzip
# Define the desired version of protoc
PROTOC_VERSION="3.15.8"
PROTOC_ZIP="protoc-${PROTOC_VERSION}-linux-x86_64.zip"
# Download and install protoc
curl -OL "https://github.com/protocolbuffers/protobuf/releases/download/v${PROTOC_VERSION}/${PROTOC_ZIP}"
sudo unzip -o $PROTOC_ZIP -d /usr/local bin/protoc
sudo unzip -o $PROTOC_ZIP -d /usr/local 'include/*'
rm -f $PROTOC_ZIP
# Verify the installation
protoc --version
shell: bash

- name: Set up Rust
Expand Down

0 comments on commit fc37328

Please sign in to comment.