From 6b94688a98c6f5ceb967c6c9e2bd8d2bc9f03297 Mon Sep 17 00:00:00 2001 From: David Li Date: Tue, 3 Feb 2026 16:27:48 +0900 Subject: [PATCH] fix: explicitly use Git Bash on Windows --- adbc_drivers_dev/make.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/adbc_drivers_dev/make.py b/adbc_drivers_dev/make.py index 5e269c1..dff7432 100644 --- a/adbc_drivers_dev/make.py +++ b/adbc_drivers_dev/make.py @@ -448,8 +448,11 @@ def build_script( if platform.system() == "Darwin": env["MACOSX_DEPLOYMENT_TARGET"] = "11.0" - # for Windows - args = ["bash", "./ci/scripts/build.sh", *args] + args = ["./ci/scripts/build.sh", *args] + if ci and PLATFORM == "windows": + # Force use of Git Bash on GitHub Actions + args = [r"C:\Program Files\Git\bin\bash.EXE", *args] + maybe_build_docker( repo_root=repo_root, driver_root=driver_root,