Skip to content

Commit

Permalink
fix(ci): install protoc
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Tate <ryan.michael.tate@gmail.com>
  • Loading branch information
Ryanmtate committed Sep 24, 2022
1 parent 12da0db commit b5a1bdf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
build:
name: Build
runs-on: ubuntu-latest
env:
PROTOC: /usr/local/bin/protoc
steps:
- name: checkout repo
uses: actions/checkout@v2
Expand All @@ -20,6 +22,14 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: install buf
uses: bufbuild/buf-setup-action@v1.7.0
- name: install protoc
env:
PROTOC_ZIP: protoc-3.14.0-linux-x86_64.zip
run: |
curl -OL https://github.com/protocolbuffers/protobuf/releases/download/v3.14.0/$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
- name: rust-toolchain
uses: actions-rs/toolchain@v1.0.6
with:
Expand Down

0 comments on commit b5a1bdf

Please sign in to comment.