Skip to content

Commit 3780531

Browse files
committed
Install protoc plugins during the build
1 parent 3ad0629 commit 3780531

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/publish.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,13 @@ jobs:
2222
distribution: 'temurin'
2323
java-version: '17'
2424
- name: Run builds
25-
run: ./.run.builds.sh
25+
run: |
26+
mkdir protoc-plugins
27+
curl -sL https://github.com/protocolbuffers/protobuf-javascript/releases/download/v3.21.4/protobuf-javascript-3.21.4-linux-x86_64.tar.gz | tar xzfO - bin/protoc-gen-js > protoc-plugins/protoc-gen-js
28+
curl -sL https://github.com/grpc/grpc-web/releases/download/1.5.0/protoc-gen-grpc-web-1.5.0-linux-x86_64 > protoc-plugins/protoc-gen-grpc-web
29+
chmod 744 protoc-plugins/protoc-gen-*
30+
echo "$PWD/protoc-plugins" >> "$GITHUB_PATH"
31+
./.run.builds.sh
2632
- name: Setup Ruby
2733
uses: ruby/setup-ruby@v1
2834
with:

0 commit comments

Comments
 (0)