From 798841be82be847b357d2498d171f3a33de88b92 Mon Sep 17 00:00:00 2001 From: "Alex Lam S.L" Date: Wed, 20 May 2020 21:50:42 +0100 Subject: [PATCH] improve job resilience (#3913) --- .github/workflows/ci.yml | 2 +- .github/workflows/ufuzz.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 07626baa..6315a794 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: git clone --branch v1.5.4 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs while ! timeout 60 bash -c '. ~/.nvs/nvs.sh add $NODE && nvs use $NODE'; do cd ~/.nvs - git clean -xdf + while !(git clean -xdf); do echo "'git clean' failed - retrying..."; done cd - done . ~/.nvs/nvs.sh --version diff --git a/.github/workflows/ufuzz.yml b/.github/workflows/ufuzz.yml index bbb9f1f8..84fd1ac7 100644 --- a/.github/workflows/ufuzz.yml +++ b/.github/workflows/ufuzz.yml @@ -18,7 +18,7 @@ jobs: git clone --branch v1.5.4 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs while ! timeout 60 bash -c '. ~/.nvs/nvs.sh add 10 && nvs use 10'; do cd ~/.nvs - git clean -xdf + while !(git clean -xdf); do echo "'git clean' failed - retrying..."; done cd - done . ~/.nvs/nvs.sh --version -- 2.34.1