From 0cf70e85cf5cd697d7dfc4fe12639962c1c54fb1 Mon Sep 17 00:00:00 2001 From: JC Date: Thu, 18 Sep 2025 09:53:14 -0700 Subject: [PATCH] Always run post-job cleanup step if test fail (#1049) coincides with https://github.com/ROCm/TheRock/pull/1521 --- .github/workflows/therock-test-packages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/therock-test-packages.yml b/.github/workflows/therock-test-packages.yml index e3ad33768c..cc9d559c05 100644 --- a/.github/workflows/therock-test-packages.yml +++ b/.github/workflows/therock-test-packages.yml @@ -108,6 +108,6 @@ jobs: # GitHub's 'Complete job' step is unaware of launched executables # and will fail to clean up orphan processes. - name: Post-job cleanup processes on Windows - if: ${{ runner.os == 'Windows' }} + if: ${{ always() && runner.os == 'Windows' }} shell: powershell run: . '${{ github.workspace }}\build_tools\github_actions\cleanup_processes.ps1'