From b54fa5c040f90bd5f69f40cacecf2cd55875668e Mon Sep 17 00:00:00 2001 From: Olle Sandberg Date: Fri, 29 Jan 2021 13:15:38 +0100 Subject: [PATCH] fix: release binaries with PROTOC set So that protoc from the current path is used by the prebuilt binaries. --- .github/workflows/rust.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 957a6c5..e45edd9 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -53,6 +53,9 @@ jobs: - name: Build Release Binary if: startsWith(github.ref, 'refs/tags/') run: cargo build --all --release && strip target/release/${{ env.BIN_NAME }} && mv target/release/${{ env.BIN_NAME }} target/release/${{ env.BIN_NAME }}_${{ matrix.target }} + env: + PROTOC: protoc + PROTOC_INCLUDE: . - name: Attach Release Binaries uses: softprops/action-gh-release@v1