1 parent 8040cf6 commit 90b99ccCopy full SHA for 90b99cc
1 file changed
.github/workflows/hooks-test.yml
@@ -94,3 +94,13 @@ jobs:
94
$venv = Join-Path $env:RUNNER_TEMP 'venv with spaces & symbols'
95
& $python -m venv $venv
96
& (Join-Path $venv 'Scripts\python.exe') -m pip --version
97
+ - name: Show installer destinations after a failure
98
+ if: failure()
99
+ run: |
100
+ foreach ($directory in @($env:TEMP, (Join-Path $env:WINDIR 'Temp'))) {
101
+ Get-ChildItem -LiteralPath $directory -Filter 'MSI*.log' -ErrorAction SilentlyContinue |
102
+ ForEach-Object {
103
+ Write-Output "Installer log: $($_.FullName)"
104
+ Select-String -LiteralPath $_.FullName -Pattern 'Command Line|TARGETDIR|TargetDir|SourceDir|File: python.exe|Return value 3|MainEngineThread is returning'
105
+ }
106
0 commit comments