From 4f10a61eaaf5bfe7e4c53edc79c5e27a7bd1ae33 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Mon, 12 Aug 2019 14:30:42 +0900 Subject: Stop relying on actions/checkout because it randomly fails on authorization like: https://github.com/ruby/ruby/runs/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. --- .github/workflows/macos.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to '.github/workflows/macos.yml') diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 68fba08883..629b542a25 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -21,10 +21,8 @@ jobs: run: | brew update brew install gdbm gmp libffi openssl zlib ccache autoconf automake libtool readline - - name: Checkout - uses: actions/checkout@master - with: - fetch-depth: 50 + - name: Checkout # not using actions/checkout because it's unstable. + run: tool/ci_retry.sh git clone --depth=50 https://github.com/ruby/ruby . - name: Set ENV run: | echo '##[set-env name=JOBS]'-j$((1 + $(sysctl -n hw.activecpu))) -- cgit v1.2.3