Always run post-job cleanup step if test fail (#1049)

coincides with https://github.com/ROCm/TheRock/pull/1521
This commit is contained in:
JC
2025-09-18 09:53:14 -07:00
committed by GitHub
orang tua 4d74be5d55
melakukan 0cf70e85cf
@@ -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'