Skip to content

Commit

Permalink
CI: update protoc to 23.4 and buf to 1.24
Browse files Browse the repository at this point in the history
  • Loading branch information
mzabaluev committed Jul 14, 2023
1 parent f32504b commit 2b9dba2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,12 @@ jobs:
- uses: dtolnay/rust-toolchain@stable
- name: Install protoc
run: |
curl -Lo /tmp/protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v22.3/protoc-22.3-linux-x86_64.zip
unzip /tmp/protoc.zip -d ${HOME}/.local
echo "PROTOC=${HOME}/.local/bin/protoc" >> $GITHUB_ENV
export PATH="${PATH}:${HOME}/.local/bin"
curl -Lo /tmp/protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v23.4/protoc-23.4-linux-x86_64.zip
unzip /tmp/protoc.zip -d /usr/local
echo "PROTOC=/usr/local/bin/protoc" >> $GITHUB_ENV
- name: Install buf
run: |
curl -sSL https://github.com/bufbuild/buf/releases/download/v1.18.0/buf-Linux-x86_64 \
curl -sSL https://github.com/bufbuild/buf/releases/download/v1.24.0/buf-Linux-x86_64 \
-o /usr/local/bin/buf
chmod +x /usr/local/bin/buf
- name: Regenerate proto definitions
Expand Down

0 comments on commit 2b9dba2

Please sign in to comment.