Skip to content

Commit 8743e40

Browse files
Technologicatclaude
andcommitted
CI: run the Windows diagnostic under bash so the heredoc works
The diagnostic step used Python heredoc syntax (`python - <<'PY' ... PY`) but the step was running under pwsh, which does not understand <<. PowerShell parse-errored on line 3 before anything ran, which is why the second diagnostic run produced no pefile or WinDLL output at all. Switch the step to `shell: bash` (Git Bash is installed by default on GitHub Actions Windows runners) so the heredoc-into-python idiom works unchanged. No other logic changes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 280762c commit 8743e40

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ jobs:
7979
# fails).
8080
- name: Diagnose extension DLL dependencies (Windows)
8181
if: runner.os == 'Windows'
82-
shell: pwsh
82+
# Use Git Bash so the Python heredoc works. PowerShell does not
83+
# understand `python - <<'PY' ... PY` and chokes at parse time.
84+
shell: bash
8385
run: |
8486
python -m pip install -q pefile
8587
python - <<'PY'

0 commit comments

Comments
 (0)