From 451de21ad36060f846f2cba460062562b27c5ca1 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Wed, 18 Sep 2024 15:00:16 +0100 Subject: [PATCH] =?UTF-8?q?Except=20when=20it=E2=80=99s=20Linux?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f453cf1..53df852 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,3 +1,4 @@ +name: Build CLI binaries on: push permissions: contents: write @@ -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