forked from github-such-software/hash-wallet
Windows CI: use explicit Git Bash path instead of shell: bash
#27
Reference in New Issue
Block a user
Delete Branch "github-such-software/hash-wallet:dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
shell: bashon the Windows runner resolves via PATH toC:\Windows\System32\bash.exe — that's WSL's bash. WSL refuses to launch
under LocalSystem (which our NSSM-managed act_runner service runs as):
Running WSL as local system is not supported.
Error code: Bash/WSL_E_LOCAL_SYSTEM_NOT_SUPPORTED
GitHub's hosted windows-latest avoids this by putting Git Bash earlier in
PATH. Tried the same on our runner (prepending C:\Program Files\Git\bin)
but the service's PATH didn't reflect the change post-restart. Rather
than fight Windows env propagation, just point shell at Git Bash
directly. Deterministic, no PATH dependency.
Issue Number (if Applicable): Fixes #
Description
Please include a summary of the changes and which issue is fixed / feature is added.
Pull Request - Checklist
shell: bash87636d9442