Skip to content

Commit

Permalink
Update vet-proto.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
aranjans committed Apr 11, 2024
1 parent e578b4d commit c64d03c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions scripts/vet-proto.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,6 @@ trap cleanup EXIT
# go.)
if [[ "$1" = "-install" ]]; then
if [[ "${GITHUB_ACTIONS}" = "true" ]]; then
PROTOBUF_VERSION=25.2 # Shows up in pb.go files as v4.22.0
PROTOC_FILENAME=protoc-${PROTOBUF_VERSION}-linux-x86_64.zip
pushd /home/runner/go
wget https://github.com/google/protobuf/releases/download/v${PROTOBUF_VERSION}/${PROTOC_FILENAME}
unzip ${PROTOC_FILENAME}
protoc --version # Check that the binary works.
popd
elif [[ -z "${VET_SKIP_PROTO}" ]]; then
source ./scripts/protoc_installer.sh
install_protoc
protoc --version
Expand Down

0 comments on commit c64d03c

Please sign in to comment.