Windows CI: use explicit Git Bash path instead of shell: bash #27

Merged
such-gitea merged 1 commits from github-such-software/hash-wallet:dev into dev 2026-05-20 13:22:48 -04:00

View File

@@ -22,10 +22,13 @@ concurrency:
defaults:
run:
# Git Bash is installed alongside Git on the runner. Using bash keeps
# the steps parallel to build-android.yml / build-ios-sim.yml. PowerShell
# is available per-step via `shell: powershell` if needed.
shell: bash
# Explicit Git Bash path (not `shell: bash`) because Windows resolves
# bare `bash` to C:\Windows\System32\bash.exe (WSL), which refuses to
# run when the act_runner service is hosted under LocalSystem:
# "Running WSL as local system is not supported."
# Git Bash works fine under LocalSystem and matches how GitHub's
# hosted windows-latest runner invokes bash.
shell: '"C:\Program Files\Git\bin\bash.exe" --noprofile --norc -eo pipefail {0}'
jobs:
build: