mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 05:34:48 +02:00
Merge pull request #10433 from Icinga/gha-windows-logs-artifacts
GitHub Actions: Show log files in Windows jobs
This commit is contained in:
commit
d1f0ffe778
9
.github/workflows/windows.yml
vendored
9
.github/workflows/windows.yml
vendored
@ -46,3 +46,12 @@ jobs:
|
|||||||
if ($LastExitCode -ne 0) { throw "Error during build" }
|
if ($LastExitCode -ne 0) { throw "Error during build" }
|
||||||
& powershell.exe .\tools\win32\test.ps1
|
& powershell.exe .\tools\win32\test.ps1
|
||||||
if ($LastExitCode -ne 0) { throw "Error during test" }
|
if ($LastExitCode -ne 0) { throw "Error during test" }
|
||||||
|
|
||||||
|
- name: Show Log Files
|
||||||
|
if: ${{ always() }}
|
||||||
|
run: |
|
||||||
|
foreach ($file in Get-ChildItem -Recurse -Filter "*.log") {
|
||||||
|
Write-Host "::group::$($file.FullName)"
|
||||||
|
Get-Content $file.FullName
|
||||||
|
Write-Host "::endgroup::"
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user