diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-12 14:30:42 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-08-12 14:30:43 +0900 |
commit | 4f10a61eaaf5bfe7e4c53edc79c5e27a7bd1ae33 (patch) | |
tree | f899b5e7d5ea917e1a64677a20a6db6ae54eac4b /.github/workflows/macos.yml | |
parent | 2b3d84d584e4a4cec5fe452db422c76048826c2b (diff) |
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.
Diffstat (limited to '.github/workflows/macos.yml')
-rw-r--r-- | .github/workflows/macos.yml | 6 |
1 files changed, 2 insertions, 4 deletions
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))) |