Skip to content

Commit 798841b

Browse files
authored
improve job resilience (#3913)
1 parent cc6eb4b commit 798841b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
git clone --branch v1.5.4 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
3030
while ! timeout 60 bash -c '. ~/.nvs/nvs.sh add $NODE && nvs use $NODE'; do
3131
cd ~/.nvs
32-
git clean -xdf
32+
while !(git clean -xdf); do echo "'git clean' failed - retrying..."; done
3333
cd -
3434
done
3535
. ~/.nvs/nvs.sh --version

.github/workflows/ufuzz.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
git clone --branch v1.5.4 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
1919
while ! timeout 60 bash -c '. ~/.nvs/nvs.sh add 10 && nvs use 10'; do
2020
cd ~/.nvs
21-
git clean -xdf
21+
while !(git clean -xdf); do echo "'git clean' failed - retrying..."; done
2222
cd -
2323
done
2424
. ~/.nvs/nvs.sh --version

0 commit comments

Comments
 (0)