ruby-changes:57516
From: Takashi <ko1@a...>
Date: Tue, 3 Sep 2019 21:03:40 +0900 (JST)
Subject: [ruby-changes:57516] 7cb19b3f5b (master): Roughly retry choco install commands
https://git.ruby-lang.org/ruby.git/commit/?id=7cb19b3f5b From 7cb19b3f5bf0a5dcee0e8444b920e01e7d4e7fae Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Tue, 3 Sep 2019 21:03:10 +0900 Subject: Roughly retry choco install commands to deal with random failures: https://github.com/ruby/ruby/runs/210617845 diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 3987153..cd7b984 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -31,7 +31,12 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/windows.yml#L31 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 }} -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/