Commit 79eac71
committed
CI: fix yarn-berry Windows setup — git-bash 'command -v' doesn't see .cmd
Previous setup called command -v yarn-berry / yarn-berry --version
after creating yarn-berry.cmd. git-bash's command -v doesn't
consult PATHEXT so it couldn't find the .cmd shim, failing
the whole Setup step with exit code 1 before any tests could run.
Invoke the .cmd file directly for the build-time version check,
and rely on GITHUB_PATH export for subsequent steps (pytest /
shutil.which on Windows does honor PATHEXT).1 parent c3cb5c1 commit 79eac71
1 file changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
178 | | - | |
| 178 | + | |
| 179 | + | |
179 | 180 | | |
180 | 181 | | |
181 | 182 | | |
182 | 183 | | |
183 | 184 | | |
184 | 185 | | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
189 | 193 | | |
190 | 194 | | |
191 | 195 | | |
| |||
0 commit comments