Skip to content

Commit

Permalink
chore: add protoc-bin-vendored in Cargo
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi committed Dec 27, 2023
1 parent d2d2d5b commit a2fc0fd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,11 @@ jobs:
uses: dtolnay/rust-toolchain@stable
with:
targets: ${{ matrix.target }}
override: true

- name: Install dependencies
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y libclang-dev protobuf-compiler
- name: Install Protoc
uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: Build
uses: actions-rs/cargo@v1
Expand Down
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,7 @@ fs2 = "0.4.3"
hashring = "0.3.3"
libc = "0.2"
fslock = "0.2.1"

[build_dependencies]
openssl = { version = "0.10", features = ["vendored"] }
protoc-bin-vendored = "3.0.0"

0 comments on commit a2fc0fd

Please sign in to comment.