diff --git a/.github/workflows/bazel.yml b/.github/workflows/bazel.yml index 49bf449762..b6938cc144 100644 --- a/.github/workflows/bazel.yml +++ b/.github/workflows/bazel.yml @@ -93,6 +93,11 @@ jobs: # Use a very short path to reduce argv/path length issues. "BAZEL_STARTUP_ARGS=--output_user_root=D:\" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append + - name: Enable Git long paths (Windows) + if: runner.os == 'Windows' + shell: pwsh + run: git config --global core.longpaths true + - name: bazel test //... env: BUILDBUDDY_API_KEY: ${{ secrets.BUILDBUDDY_API_KEY }}