Skip to content

Commit

Permalink
Manually download protoc.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmitr committed Jun 12, 2024
1 parent da992d6 commit 176ab5f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build-libraries.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,13 @@ jobs:
run: cargo install cross --git https://github.com/cross-rs/cross --rev c87a52a

- name: Install Protoc
uses: arduino/setup-protoc@v3
if: ${{ matrix.build.tool == 'cargo' }}
run: |
export PB_REL=\"https://github.com/protocolbuffers/protobuf/releases\"
curl -LO $PB_REL/download/v25.3/protoc-25.3-linux-x86_64.zip
mkdir protoc
unzip protoc-25.3-linux-x86_64.zip -d protoc
sudo mv protoc/bin/protoc /usr/local/bin/protoc
- name: Checkout
uses: actions/checkout@v4
Expand Down

0 comments on commit 176ab5f

Please sign in to comment.