summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 }}