From d992627b0d8ec2ff9ea050dab6eaa2edbf43d03f Mon Sep 17 00:00:00 2001 From: Paul Wankadia Date: Fri, 28 Jul 2023 15:36:22 +0000 Subject: [PATCH] `bazelbuild/setup-bazelisk` doesn't work for some reason. Change-Id: I7f17bd02512114e6ecf665c2f88f662366a6f4aa Reviewed-on: https://code-review.googlesource.com/c/re2/+/61612 Reviewed-by: Alex Chernyakhovsky Reviewed-by: Paul Wankadia --- .github/workflows/python.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 8a1b61d72..9989a52d2 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -119,10 +119,11 @@ jobs: BAZEL_CPU: ${{ matrix.arch.bazel-name }}_windows steps: - uses: actions/checkout@v3 - # TODO(junyer): Use `v2` whenever a new release is tagged. - - uses: bazelbuild/setup-bazelisk@6244971d4f7ba9aca943c2f3ede2bbd813fcca51 - # Avoid the Chocolatey install of Bazel getting in the way. - - run: choco uninstall -y bazel + # Avoid the Chocolatey install of Bazel getting in the way; + # `bazelbuild/setup-bazelisk` doesn't work for some reason. + - run: | + choco uninstall -y bazel + choco install -y bazelisk shell: bash - uses: actions/setup-python@v4 with: