From 7e84dcb4d65a660257a805c75760bdac0628ece5 Mon Sep 17 00:00:00 2001 From: Piotr Macha Date: Tue, 18 Jun 2024 10:01:53 +0200 Subject: [PATCH] ci: fix build.yml --- .github/workflows/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 45b7ec5..b553bdb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -144,9 +144,9 @@ jobs: } else { echo "tests=failed" >> $env:GITHUB_OUTPUT } - $testsLog = (Get-Content -Path out/build/x86-debug/tests/Testing/Temporary/LastTest.log) -join "%%%" + $testsLog = (Get-Content -Path out/build/${{ inputs.cmake-preset }}/tests/Testing/Temporary/LastTest.log) -join "%%%" echo "tests_log=${testsLog}" >> $env:GITHUB_OUTPUT - cat out/build/x86-debug/tests/Testing/Temporary/LastTest.log + cat out/build/${{ inputs.cmake-preset }}/tests/Testing/Temporary/LastTest.log if (-not $status) { exit -1 }