File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7979 else
8080 echo "has_changes=true" >> $GITHUB_OUTPUT
8181 fi
82+ - name : Install protoc
83+ run : |
84+ set -e
85+ VERSION="33.2"
86+ 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"
87+ cd /usr/local
88+ sudo unzip -o /tmp/protoc.zip
89+ protoc --version
90+ - uses : actions/setup-java@v4
91+ with :
92+ java-version : " 17"
93+ distribution : " temurin"
94+ cache : " maven"
95+ - name : Verify Java and Maven installation
96+ run : |
97+ java -version
98+ if ! command -v mvn &> /dev/null; then
99+ sudo apt-get update && sudo apt-get install -y maven
100+ fi
101+ mvn -version
102+ - uses : actions/setup-python@v5
103+ with :
104+ python-version : " 3.12"
105+ cache : ' pip'
106+ - name : Run librarian install
107+ run : |
108+ go run github.com/googleapis/librarian/cmd/librarian@latest install
109+ echo "$HOME/java_tools/bin" >> $GITHUB_PATH
110+ env :
111+ PYTHONPATH : ${{ github.workspace }}/sdk-platform-java/hermetic_build/library_generation/owlbot
82112 - name : Generate Libraries
83113 if : steps.detect_librarian.outputs.has_changes == 'true'
84114 id : generate
You can’t perform that action at this time.
0 commit comments