Always run post-job cleanup step if test fail (#1049)
coincides with https://github.com/ROCm/TheRock/pull/1521
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user