summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-09-03 21:03:10 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-09-03 21:03:11 +0900
commit7cb19b3f5bf0a5dcee0e8444b920e01e7d4e7fae (patch)
treeab758cb26cefd4a3c4e10e217f8bb5dac92a3ca3 /.github
parentafe8bf24894d742fa43bba3331470f428d819eb0 (diff)
Roughly retry choco install commands
to deal with random failures: https://github.com/ruby/ruby/runs/210617845
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/windows.yml7
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 3987153ae3..cd7b98489f 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -31,7 +31,12 @@ jobs:
env:
dependencies: openssl readline zlib
- name: Install libraries with chocolatey
- run: choco install winflexbison3
+ run: |
+ choco install winflexbison3 || (
+ sleep 4 && choco install winflexbison3
+ ) || (
+ sleep 25 && choco install winflexbison3
+ )
# Not using official actions/checkout because it's unstable and sometimes doesn't work for a fork.
- name: Checkout ruby/ruby
run: git clone --depth=50 https://github.com/ruby/ruby . && git reset --hard ${{ github.sha }}