Skip to content

Commit 502a737

Browse files
committed
Pin to a static version of protoc
1 parent d970d2d commit 502a737

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -193,16 +193,9 @@ jobs:
193193
run: go install golang.org/x/tools/cmd/goimports@latest
194194

195195
- name: Install Protoc
196-
run: |
197-
# protoc must be in lockstep with our dogfood Dockerfile
198-
# or the version in the comments will differ.
199-
set -x
200-
cd dogfood
201-
DOCKER_BUILDKIT=1 docker build . --target proto -t protoc
202-
protoc_path=/usr/local/bin/protoc
203-
docker run --rm --entrypoint cat protoc /tmp/bin/protoc > $protoc_path
204-
chmod +x $protoc_path
205-
protoc --version
196+
uses: arduino/setup-protoc@v1
197+
with:
198+
version: '3.21.5'
206199

207200
- name: Install dependencies
208201
run: |

0 commit comments

Comments
 (0)