Skip to content

Commit

Permalink
fix: release binaries with PROTOC set
Browse files Browse the repository at this point in the history
So that protoc from the current path is used by the prebuilt binaries.
  • Loading branch information
Olle Sandberg authored and oll3 committed Jan 29, 2021
1 parent 0c2a387 commit b54fa5c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b54fa5c

Please sign in to comment.