fix Github Actions retry logic (#3763)
This commit is contained in:
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
@@ -23,16 +23,16 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git clone --branch v1.5.4 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
|
git clone --branch v1.5.4 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
|
||||||
cd ~/.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 $NODE); do echo "'nvs add $NODE' failed - retrying..."; done;
|
||||||
|
./nvs.sh use $NODE
|
||||||
cd -
|
cd -
|
||||||
nvs --version
|
|
||||||
nvs add $NODE || nvs add $NODE || nvs add $NODE
|
|
||||||
nvs use $NODE
|
|
||||||
node --version
|
node --version
|
||||||
npm config set audit false
|
npm config set audit false
|
||||||
npm config set optional false
|
npm config set optional false
|
||||||
npm config set save false
|
npm config set save false
|
||||||
npm config set update-notifier false
|
npm config set update-notifier false
|
||||||
npm --version
|
npm --version
|
||||||
npm install || npm install || npm install
|
while !(npm install); do echo "'npm install' failed - retrying..."; done;
|
||||||
node test/$TYPE
|
node test/$TYPE
|
||||||
|
|||||||
10
.github/workflows/ufuzz.yml
vendored
10
.github/workflows/ufuzz.yml
vendored
@@ -17,16 +17,16 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git clone --branch v1.5.4 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
|
git clone --branch v1.5.4 --depth 1 https://github.com/jasongin/nvs.git ~/.nvs
|
||||||
cd ~/.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 -
|
cd -
|
||||||
nvs --version
|
|
||||||
nvs add 10 || nvs add 10 || nvs add 10
|
|
||||||
nvs use 10
|
|
||||||
node --version
|
node --version
|
||||||
npm config set audit false
|
npm config set audit false
|
||||||
npm config set optional false
|
npm config set optional false
|
||||||
npm config set save false
|
npm config set save false
|
||||||
npm config set update-notifier false
|
npm config set update-notifier false
|
||||||
npm --version
|
npm --version
|
||||||
npm install || npm install || npm install
|
while !(npm install); do echo "'npm install' failed - retrying..."; done;
|
||||||
node test/ufuzz/job 3600000
|
node test/ufuzz/job 3600000
|
||||||
|
|||||||
Reference in New Issue
Block a user