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: