From 863bcf7ca0d1d8688d267b2329a451ca4c16e8cf Mon Sep 17 00:00:00 2001 From: Tsiry Sandratraina Date: Wed, 1 Mar 2023 21:49:39 +0300 Subject: [PATCH] ci: install protobuf compiler --- .github/workflows/release-for-mac.yml | 2 ++ .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-for-mac.yml b/.github/workflows/release-for-mac.yml index 74ca14c..e42b8d7 100644 --- a/.github/workflows/release-for-mac.yml +++ b/.github/workflows/release-for-mac.yml @@ -16,6 +16,8 @@ jobs: archive: tar.gz tar.xz steps: + - name: Installing needed dependencies + run: brew install protobuf - name: Installing Rust toolchain uses: actions-rs/toolchain@v1 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index edb64f4..7cadcf4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,7 +26,7 @@ jobs: target/ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} - name: Installing needed dependencies - run: sudo apt-get install -y libasound2-dev + run: sudo apt-get install -y libasound2-dev protobuf-compiler - name: Running cargo build if: matrix.target == 'x86_64-unknown-linux-gnu' uses: actions-rs/cargo@v1