Skip to content

Commit 6d7a5d8

Browse files
committed
ensure protoc
1 parent 105dbcd commit 6d7a5d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ jobs:
6565
PROTOC: /usr/local/bin/protoc
6666

6767
- name: Install protoc (AMD)
68-
if: ${{ matrix.platform == 'amd64' }}
69-
run: curl -Lo /tmp/protoc.zip https://github.com/protocolbuffers/protobuf/releases/download/v22.2/protoc-22.2-linux-x86_64.zip && sudo unzip -f /tmp/protoc.zip -d /usr/local && rm /tmp/protoc.zip
68+
if: ${{ matrix.target == 'x86_64-unknown-linux-gnu' }}
69+
run: curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v25.2/protoc-25.2-linux-x86_64.zip && sudo unzip -o protoc-25.2-linux-x86_64.zip -d /usr/local bin/protoc && sudo unzip -o protoc-25.2-linux-x86_64.zip -d /usr/local 'include/*' && rm -f protoc-25.2-linux-x86_64.zip
7070
env:
7171
PROTOC: /usr/local/bin/protoc
7272

0 commit comments

Comments
 (0)