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:
parent
f6f9e23fe2
commit
ee54727582
1 changed files with 8 additions and 0 deletions
8
.github/actions/checkout/action.yml
vendored
8
.github/actions/checkout/action.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue