mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Roughly retry choco install commands
to deal with random failures: https://github.com/ruby/ruby/runs/210617845
This commit is contained in:
parent
afe8bf2489
commit
7cb19b3f5b
1 changed files with 6 additions and 1 deletions
7
.github/workflows/windows.yml
vendored
7
.github/workflows/windows.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Reference in a new issue