diff --git a/.github/workflows/build.bazel.sh b/.github/workflows/build.bazel.sh index d78f08ebf..31c49cbf6 100755 --- a/.github/workflows/build.bazel.sh +++ b/.github/workflows/build.bazel.sh @@ -26,6 +26,12 @@ export TENSORFLOW_INSTALL="$($PYTHON setup.py --install-require)" export PYTHON_BIN_PATH=`which $PYTHON` +if [[ $(uname) == "Linux" ]]; then + curl -sSOL https://github.com/bazelbuild/bazelisk/releases/download/v1.11.0/bazelisk-linux-amd64 + mv bazelisk-linux-amd64 /usr/local/bin/bazel + chmod +x /usr/local/bin/bazel +fi + bazel version $PYTHON -m pip --version