Commit 94ebf82
Fix startup failure: move BUILD_VENV out of job-level env; clean shellcheck
`BUILD_VENV: ${{ runner.temp }}/build_venv` used the `runner` context in a
job-level env: block, where it is not available (only github/inputs/matrix/
needs/secrets/strategy/vars are). actionlint flags this as an error and GitHub
rejects the whole reusable workflow at parse time, so the test_build_wheels_
linux_v2 caller produced 0 jobs and failed immediately ("workflow not running").
Set BUILD_VENV from $RUNNER_TEMP in an early step (via $GITHUB_ENV) instead.
Also clear the remaining actionlint/shellcheck findings on the new v2 file so
the Lint check (which lints the diff, i.e. every line of a new file) passes:
- SC1090: add `# shellcheck disable=SC1090` before each `source "$BUILD_ENV_FILE"`
- SC2155: add `# shellcheck disable=SC2155` on `export PYTORCH_VERSION=$(...)`
- SC2086: quote "$pkg" / "$abs_pkg" in the manylinux repair loop
- SC2115: `rm -rf "${RUNNER_TEMP:?}/"*` (also fixes a quoted-glob bug that
removed a literal `*` and cleaned nothing)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 352be0f commit 94ebf82
1 file changed
Lines changed: 16 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
183 | | - | |
184 | 182 | | |
185 | 183 | | |
186 | 184 | | |
| |||
198 | 196 | | |
199 | 197 | | |
200 | 198 | | |
201 | | - | |
| 199 | + | |
202 | 200 | | |
203 | 201 | | |
204 | 202 | | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
205 | 210 | | |
206 | 211 | | |
207 | 212 | | |
| |||
333 | 338 | | |
334 | 339 | | |
335 | 340 | | |
| 341 | + | |
336 | 342 | | |
337 | 343 | | |
| 344 | + | |
338 | 345 | | |
339 | 346 | | |
340 | 347 | | |
| |||
345 | 352 | | |
346 | 353 | | |
347 | 354 | | |
| 355 | + | |
348 | 356 | | |
349 | 357 | | |
| 358 | + | |
350 | 359 | | |
351 | 360 | | |
352 | 361 | | |
| |||
359 | 368 | | |
360 | 369 | | |
361 | 370 | | |
| 371 | + | |
362 | 372 | | |
363 | 373 | | |
364 | 374 | | |
365 | 375 | | |
366 | 376 | | |
367 | 377 | | |
368 | 378 | | |
369 | | - | |
370 | | - | |
| 379 | + | |
| 380 | + | |
371 | 381 | | |
372 | 382 | | |
373 | 383 | | |
| |||
385 | 395 | | |
386 | 396 | | |
387 | 397 | | |
| 398 | + | |
388 | 399 | | |
389 | 400 | | |
390 | 401 | | |
| |||
0 commit comments