1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Stop relying on actions/checkout

because it randomly fails on authorization like:
190887455
Also the backoff seems too short. Maybe we need tool/travis_retry.sh for
this too.

Cloning ruby/ruby does not need authorization. We don't need to use
actions/checkout.
This commit is contained in:
Takashi Kokubun 2019-08-12 14:30:42 +09:00
parent 2b3d84d584
commit 4f10a61eaa
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD
4 changed files with 14 additions and 16 deletions

View file

@ -1,13 +0,0 @@
#!/bin/sh -eu
# The modified version of `travis_retry` to support custom backoffs, which is used by .travis.yml.
# https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/bash/travis_retry.bash
for sleep in 0 ${WAITS:- 1 25 100}; do
sleep "$sleep"
echo "+ $@"
if "$@"; then
exit 0
fi
done
exit 1