From be9c91508b0c21ceedf122dd3519cd12d3262c1b Mon Sep 17 00:00:00 2001 From: Adeel Mujahid <3840695+am11@users.noreply.github.com> Date: Thu, 5 Dec 2024 18:37:16 +0200 Subject: [PATCH] Update win-x86-runtime-build.yml --- .github/workflows/win-x86-runtime-build.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/win-x86-runtime-build.yml b/.github/workflows/win-x86-runtime-build.yml index 887c297..59f4aa7 100644 --- a/.github/workflows/win-x86-runtime-build.yml +++ b/.github/workflows/win-x86-runtime-build.yml @@ -16,10 +16,8 @@ jobs: ./build.cmd -arch x86 -cross -s clr+libs try { ./dotnet.cmd build -t:Test src/libraries/System.Runtime/tests/System.Runtime.Tests -p:xunitoptions="-method System.Tests.UInt64Tests_GenericMath.op_CheckedDivisionTest" - } finally { - if (Test-Path C:\temp\DivUInt64Internal.log) { - Get-Content C:\temp\DivUInt64Internal.log - } else { - Write-Host "Log file not found." - } + } catch { + Get-Content C:\temp\DivUInt64Internal.log + throw $_ } +