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

This commit is contained in:
Shelley Vohr 2025-04-22 13:30:27 +02:00 committed by GitHub
parent e383eaa465
commit 858a93f886
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