Fix Windows CI: use bash shell for git submodule commands
Build All Platforms / test-linux-unit (push) Failing after 40s
Build All Platforms / test-linux-sanitizers (push) Failing after 40s
Build All Platforms / build-linux-qt (push) Failing after 40s
Build All Platforms / build-linux-daemon (push) Failing after 40s
Build All Platforms / build-windows-qt (push) Has been cancelled
Build All Platforms / build-windows-daemon (push) Has been cancelled
Build All Platforms / build-macos (push) Has been cancelled
Build All Platforms / release (push) Has been cancelled
Build All Platforms / Trigger TRI-PI ARM64 Build (push) Has been cancelled
Build All Platforms / test-linux-unit (push) Failing after 40s
Build All Platforms / test-linux-sanitizers (push) Failing after 40s
Build All Platforms / build-linux-qt (push) Failing after 40s
Build All Platforms / build-linux-daemon (push) Failing after 40s
Build All Platforms / build-windows-qt (push) Has been cancelled
Build All Platforms / build-windows-daemon (push) Has been cancelled
Build All Platforms / build-macos (push) Has been cancelled
Build All Platforms / release (push) Has been cancelled
Build All Platforms / Trigger TRI-PI ARM64 Build (push) Has been cancelled
On Windows MSYS2 runners, the default shell is 'msys2' which doesn't understand 'git submodule' commands the same way. Adding shell: bash forces the step to use bash, which properly executes git and finds submodule content. Affected jobs: build-windows-qt, build-windows-daemon
This commit is contained in:
@@ -106,6 +106,7 @@ jobs:
|
||||
|
||||
- name: Init submodules
|
||||
run: git submodule update --init --recursive
|
||||
shell: bash
|
||||
|
||||
- uses: msys2/setup-msys2@v2
|
||||
with:
|
||||
@@ -263,6 +264,7 @@ jobs:
|
||||
|
||||
- name: Init submodules
|
||||
run: git submodule update --init --recursive
|
||||
shell: bash
|
||||
|
||||
- uses: msys2/setup-msys2@v2
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user