mirror of
https://github.com/actions/runner-images.git
synced 2025-12-19 08:22:12 +00:00
Fix getting output
This commit is contained in:
@@ -132,7 +132,8 @@ function Install-Binary {
|
|||||||
Write-Host "Searching for logs maching $InstallerLogPath pattern"
|
Write-Host "Searching for logs maching $InstallerLogPath pattern"
|
||||||
Get-ChildItem -Recurse -Path $InstallerLogPath | ForEach-Object {
|
Get-ChildItem -Recurse -Path $InstallerLogPath | ForEach-Object {
|
||||||
Write-Output "Found Installer Log: $InstallerLogPath"
|
Write-Output "Found Installer Log: $InstallerLogPath"
|
||||||
Get-Content -Path $InstallerLogPath
|
Write-Output "File content:"
|
||||||
|
Get-Content -Path $_.FullName
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
exit $exitCode
|
exit $exitCode
|
||||||
|
|||||||
Reference in New Issue
Block a user