mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
Update images/windows/scripts/helpers/InstallHelpers.ps1
This commit is contained in:
@@ -128,7 +128,7 @@ function Install-Binary {
|
||||
Write-Host "Installation process returned unexpected exit code: $exitCode"
|
||||
Write-Host "Time elapsed: $installCompleteTime seconds"
|
||||
|
||||
if ($InstallerLogPath -and (Test-Path -Path $InstallerLogPath)) {
|
||||
if ($InstallerLogPath) {
|
||||
Write-Host "Searching for logs maching $InstallerLogPath pattern"
|
||||
Get-ChildItem -Path $InstallerLogPath | ForEach-Object {
|
||||
Write-Output "Found Installer Log: $InstallerLogPath"
|
||||
|
||||
Reference in New Issue
Block a user