Skip to content

Commit 4b44093

Browse files
authored
fix: explicitly use Git Bash on Windows (#77)
1 parent d787085 commit 4b44093

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

adbc_drivers_dev/make.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,8 +448,11 @@ def build_script(
448448
if platform.system() == "Darwin":
449449
env["MACOSX_DEPLOYMENT_TARGET"] = "11.0"
450450

451-
# for Windows
452-
args = ["bash", "./ci/scripts/build.sh", *args]
451+
args = ["./ci/scripts/build.sh", *args]
452+
if ci and PLATFORM == "windows":
453+
# Force use of Git Bash on GitHub Actions
454+
args = [r"C:\Program Files\Git\bin\bash.EXE", *args]
455+
453456
maybe_build_docker(
454457
repo_root=repo_root,
455458
driver_root=driver_root,

0 commit comments

Comments
 (0)