improve job resilience (#3913)
authorAlex Lam S.L <alexlamsl@gmail.com>
Wed, 20 May 2020 20:50:42 +0000 (21:50 +0100)
committerGitHub <noreply@github.com>
Wed, 20 May 2020 20:50:42 +0000 (04:50 +0800)
.github/workflows/ci.yml
.github/workflows/ufuzz.yml

index 07626ba..6315a79 100644 (file)
@@ -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
index bbb9f1f..84fd1ac 100644 (file)
@@ -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