File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed
Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -30,11 +30,23 @@ jobs:
3030 VERSION="${VERSION//\//-}"
3131 echo "VERSION_NUMBER=$VERSION" >> "$GITHUB_ENV"
3232 echo "Computed VERSION_NUMBER=$VERSION"
33- - name : Build plugin docker image
34- run : docker compose build --no-cache prereqs protoc-plugin
35- - name : Copy binary from Docker image
33+ - name : Install Bazelisk (Bazel)
3634 run : |
37- docker cp $(docker create grpcweb/protoc-plugin):/github/grpc-web/javascript/net/grpc/web/generator/protoc-gen-grpc-web \
35+ sudo apt-get update
36+ sudo apt-get install -y unzip zip
37+ sudo curl -L -o /usr/local/bin/bazelisk \
38+ https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-amd64
39+ sudo chmod +x /usr/local/bin/bazelisk
40+ # Also provide `bazel` symlink for tools that expect it
41+ sudo ln -sf /usr/local/bin/bazelisk /usr/local/bin/bazel
42+ - name : Print Bazel version
43+ run : bazelisk version
44+ - name : Build protoc-gen-grpc-web with Bazel
45+ run : |
46+ bazelisk build //javascript/net/grpc/web/generator:protoc-gen-grpc-web
47+ - name : Move artifact
48+ run : |
49+ mv bazel-bin/javascript/net/grpc/web/generator/protoc-gen-grpc-web \
3850 ./protoc-gen-grpc-web-${VERSION_NUMBER}-linux-x86_64
3951 - name : gen sha256
4052 run : |
You can’t perform that action at this time.
0 commit comments