build: don't kill ssh sessions on checkout failure (#46717)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
trop[bot] 2025-04-22 11:31:35 -05:00 committed by GitHub
parent f6f9e23fe2
commit ee54727582
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -179,3 +179,11 @@ runs:
else
echo "Cache key persisted in $final_cache_path"
fi
- name: Wait for active SSH sessions
shell: bash
if: always() && !cancelled()
run: |
while [ -f /var/.ssh-lock ]
do
sleep 60
done