Skip to content

Commit

Permalink
Except when it’s Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Sep 18, 2024
1 parent bcc8f85 commit 451de21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
name: Build CLI binaries
on: push
permissions:
contents: write
Expand Down Expand Up @@ -38,11 +39,12 @@ jobs:
if [ "${{ matrix.os }}" = "ubuntu-latest" ]; then
sudo apt-get update
sudo apt-get install -y protobuf-compiler
echo "PROTOC=$(which protoc)" >> $GITHUB_ENV
elif [ "${{ matrix.os }}" = "macos-latest" ]; then
brew install protobuf
elif [ "${{ matrix.os }}" = "windows-latest" ]; then
choco install protoc
echo 'C:\Program Files\protoc\bin' >> $GITHUB_PATH
echo "PROTOC='C:/Program Files/protoc/bin/proto'" >> $GITHUB_ENV
fi
- name: Build diffenator3/diff3proof
uses: actions-rs/cargo@v1
Expand Down

0 comments on commit 451de21

Please sign in to comment.