ci: fix git bash path literals
Some checks failed
CI / verify (push) Has been cancelled

This commit is contained in:
2026-05-06 16:05:31 +08:00
parent b27424105d
commit e9dfcda418

View File

@@ -77,9 +77,9 @@ pipeline {
$env:PATH = "$env:CARGO_HOME/bin;$env:PATH"
$gitBash = @(
$env:GENARRATIVE_BASH,
'C:\Program Files\Git\bin\bash.exe',
'C:\Program Files\Git\usr\bin\bash.exe',
'C:\msys64\usr\bin\bash.exe',
'C:/Program Files/Git/bin/bash.exe',
'C:/Program Files/Git/usr/bin/bash.exe',
'C:/msys64/usr/bin/bash.exe',
'bash'
) | Where-Object { $_ -and (($_ -eq 'bash') -or (Test-Path $_)) } | Select-Object -First 1
if (-not $gitBash) {