From: Alex Lam S.L Date: Wed, 20 May 2020 20:50:42 +0000 (+0100) Subject: improve job resilience (#3913) X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=798841be82be847b357d2498d171f3a33de88b92;p=UglifyJS.git improve job resilience (#3913) --- 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