forked from github-such-software/hash-wallet
Windows CI: use explicit Git Bash path instead of shell: bash
#27
11
.github/workflows/build-windows.yml
vendored
11
.github/workflows/build-windows.yml
vendored
@@ -22,10 +22,13 @@ concurrency:
|
|||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
# Git Bash is installed alongside Git on the runner. Using bash keeps
|
# Explicit Git Bash path (not `shell: bash`) because Windows resolves
|
||||||
# the steps parallel to build-android.yml / build-ios-sim.yml. PowerShell
|
# bare `bash` to C:\Windows\System32\bash.exe (WSL), which refuses to
|
||||||
# is available per-step via `shell: powershell` if needed.
|
# run when the act_runner service is hosted under LocalSystem:
|
||||||
shell: bash
|
# "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:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|||||||
Reference in New Issue
Block a user