aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/ufuzz.yml
diff options
context:
space:
mode:
authorAlex Lam S.L <alexlamsl@gmail.com>2020-04-06 15:16:48 +0100
committerGitHub <noreply@github.com>2020-04-06 22:16:48 +0800
commit822d298a552dc655fc30b9442cf4c80cebc163cf (patch)
tree3f6f8881862e17c68a324d1f19747ac3852afaac /.github/workflows/ufuzz.yml
parent273c6020baa433e19404cadfd8311c7372bb03db (diff)
downloadtracifyjs-822d298a552dc655fc30b9442cf4c80cebc163cf.tar.gz
tracifyjs-822d298a552dc655fc30b9442cf4c80cebc163cf.zip
fix Github Actions retry logic (#3763)
Diffstat (limited to '.github/workflows/ufuzz.yml')
-rw-r--r--.github/workflows/ufuzz.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/ufuzz.yml b/.github/workflows/ufuzz.yml
index 4b200b37..be20849e 100644
--- a/.github/workflows/ufuzz.yml
+++ b/.github/workflows/ufuzz.yml
@@ -17,16 +17,16 @@ jobs:
run: |
git clone --branch v1.5.4 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
cd ~/.nvs
- . ./nvs.sh || { git clean -xdf && . ./nvs.sh; } || { git clean -xdf && . ./nvs.sh; }
+ chmod a+x ./nvs.sh
+ while !(./nvs.sh --version); do git clean -xdf; done;
+ while !(./nvs.sh add 10); do echo "'nvs add 10' failed - retrying..."; done;
+ ./nvs.sh use 10
cd -
- nvs --version
- nvs add 10 || nvs add 10 || nvs add 10
- nvs use 10
node --version
npm config set audit false
npm config set optional false
npm config set save false
npm config set update-notifier false
npm --version
- npm install || npm install || npm install
+ while !(npm install); do echo "'npm install' failed - retrying..."; done;
node test/ufuzz/job 3600000