From 502a7370c873cbffe96ceaf3914492a8af9fc7c1 Mon Sep 17 00:00:00 2001 From: Kyle Carberry Date: Tue, 6 Sep 2022 20:32:24 -0500 Subject: [PATCH] Pin to a static version of protoc --- .github/workflows/release.yaml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index cda87de062..0b882741b4 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -193,16 +193,9 @@ jobs: run: go install golang.org/x/tools/cmd/goimports@latest - name: Install Protoc - run: | - # protoc must be in lockstep with our dogfood Dockerfile - # or the version in the comments will differ. - set -x - cd dogfood - DOCKER_BUILDKIT=1 docker build . --target proto -t protoc - protoc_path=/usr/local/bin/protoc - docker run --rm --entrypoint cat protoc /tmp/bin/protoc > $protoc_path - chmod +x $protoc_path - protoc --version + uses: arduino/setup-protoc@v1 + with: + version: '3.21.5' - name: Install dependencies run: |