mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 14:17:22 +00:00
[macos] systeminfo.txt: remove debug leftover (#7592)
This commit is contained in:
@@ -302,21 +302,11 @@ PARALLELS_DMG_URL environment variable. A system extension is allowed for this v
|
||||
$miscellaneousEnvNotes.AddNote($notes)
|
||||
}
|
||||
|
||||
#
|
||||
# Generate systeminfo.txt with information about image (for debug purpose)
|
||||
#
|
||||
$dateTime = (Get-Date).ToString("yyyy-MM-dd HH:mm:ss")
|
||||
$systemInfo = [string]::Join([System.Environment]::NewLine, @(
|
||||
"Date: ${dateTime}",
|
||||
"Image name: ${ImageName}"
|
||||
))
|
||||
|
||||
if (-not (Test-Path $OutputDirectory)) { New-Item -Path $OutputDirectory -ItemType Directory | Out-Null }
|
||||
|
||||
#
|
||||
# Write final reports
|
||||
#
|
||||
Write-Host $markdownExtended
|
||||
$systemInfo | Out-File -FilePath "${OutputDirectory}/systeminfo.txt" -Encoding UTF8NoBOM
|
||||
$softwareReport.ToJson() | Out-File -FilePath "${OutputDirectory}/systeminfo.json" -Encoding UTF8NoBOM
|
||||
$softwareReport.ToMarkdown() | Out-File -FilePath "${OutputDirectory}/systeminfo.md" -Encoding UTF8NoBOM
|
||||
|
||||
Reference in New Issue
Block a user