Skip to content

Commit 4135b45

Browse files
authored
Update librarian installation and protoc version
1 parent 0cffeb6 commit 4135b45

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/librarian_library_generation.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ jobs:
4343
- name: Install Librarian
4444
if: env.SHOULD_RUN == 'true'
4545
run: |
46-
LIBRARIAN_VERSION=$(grep "^version:" librarian.yaml | cut -d':' -f2 | xargs)
47-
echo "Installing librarian version $LIBRARIAN_VERSION"
48-
go install github.com/googleapis/librarian/cmd/librarian@$LIBRARIAN_VERSION
46+
V=$(go run github.com/googleapis/librarian/cmd/librarian@latest config get version)
47+
echo "Installing librarian version $V"
48+
go install github.com/googleapis/librarian/cmd/librarian@$V
4949
- name: Install protoc
5050
if: env.SHOULD_RUN == 'true'
5151
run: |
5252
set -e
53-
VERSION="31.0"
53+
VERSION="33.2"
5454
curl -fsSL --retry 5 --retry-delay 15 -o /tmp/protoc.zip "https://github.com/protocolbuffers/protobuf/releases/download/v$VERSION/protoc-$VERSION-linux-x86_64.zip"
5555
cd /usr/local
5656
sudo unzip -o /tmp/protoc.zip

0 commit comments

Comments
 (0)