diff --git a/.github/actions/teardown-linux/action.yml b/.github/actions/teardown-linux/action.yml index d90d1c9059c..9238a073a6b 100644 --- a/.github/actions/teardown-linux/action.yml +++ b/.github/actions/teardown-linux/action.yml @@ -3,8 +3,8 @@ name: Teardown Linux description: Stuff that should always run at the end of a linux job inputs: - wait-ssh: - description: If set, wait for ssh to drain before tearing down + skip-wait-ssh: + description: If set, don't wait for ssh to drain before tearing down required: false default: "" @@ -15,7 +15,7 @@ runs: # TODO working-directory: !{{ pytorch_directory }} # Always hold for active ssh sessions shell: bash - if: inputs.wait-ssh != '' + if: inputs.skip-wait-ssh == '' run: .github/scripts/wait_for_ssh_to_drain.sh - name: Kill containers, clean up images diff --git a/.github/workflows/_rocm-test.yml b/.github/workflows/_rocm-test.yml index 62043ffbbd4..6cd61aabdd9 100644 --- a/.github/workflows/_rocm-test.yml +++ b/.github/workflows/_rocm-test.yml @@ -162,4 +162,4 @@ jobs: uses: pytorch/pytorch/.github/actions/teardown-linux@master if: always() with: - wait-ssh: false + skip-wait-ssh: true