From 11e6a15830b89a5a7ed7c18ed61b533b634e38ea Mon Sep 17 00:00:00 2001 From: Yong Tang Date: Fri, 6 Oct 2023 20:42:49 +0000 Subject: [PATCH] Add back --- .github/workflows/build.bazel.sh | 6 ++++++ 1 file changed, 6 insertions(+) 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