From df12a8e70743a8f4f714ab3a900167a5a17379ee Mon Sep 17 00:00:00 2001 From: beltram Date: Tue, 13 Jun 2023 17:44:33 +0200 Subject: [PATCH] try --- .github/workflows/release.yaml | 1 + lib/build.rs | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1648e441..ed6ef10c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -201,6 +201,7 @@ jobs: uses: arduino/setup-protoc@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} + - run: apt-get install protobuf-compiler - name: build-musl uses: gmiam/rust-musl-action@master with: diff --git a/lib/build.rs b/lib/build.rs index 567c1447..5919b17f 100644 --- a/lib/build.rs +++ b/lib/build.rs @@ -1,9 +1,9 @@ // otherwise fails while building Docker image #[cfg(not(target_env = "musl"))] fn main() -> Result<(), Box> { - for proto in std::fs::read_dir("tests/grpc/protos")? { + /*for proto in std::fs::read_dir("tests/grpc/protos")? { tonic_build::compile_protos(proto?.path())?; - } + }*/ Ok(()) }