Commit 8056164
committed
COMP: Add shell: bash to Download ITK step for Windows compatibility
The Download ITK step uses $ITK_BUILD_ROOT (bash syntax) but has no
explicit shell: directive. On Windows, GitHub Actions defaults to pwsh
where $ITK_BUILD_ROOT is undefined (needs $env:ITK_BUILD_ROOT). The cd
becomes a no-op, ITK gets cloned into the repo checkout directory
instead of the build root, and cmake fails with "source directory does
not exist".
Adding shell: bash ensures the step uses Git Bash on Windows, where
$ITK_BUILD_ROOT correctly reads the environment variable.1 parent bc8b850 commit 8056164
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
| |||
0 commit comments