ruby-changes:66141
From: Takashi <ko1@a...>
Date: Tue, 11 May 2021 13:34:14 +0900 (JST)
Subject: [ruby-changes:66141] 7c346e1072 (master): Split a Choco-Install command
https://git.ruby-lang.org/ruby.git/commit/?id=7c346e1072 From 7c346e107283a1f6c74ec159f86bc78c20c0ade5 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Mon, 10 May 2021 21:32:55 -0700 Subject: Split a Choco-Install command In https://github.com/ruby/ruby/runs/2552065052, while it failed to install winflexbison3, it exited the retry loop because openssl was installed successfully. https://github.com/actions/virtual-environments/blob/a5ee51f72dcbc3879a91a74c63f95737e2d4a292/images/win/scripts/ImageHelpers/ChocoHelpers.ps1 --- .github/workflows/windows.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index c8e4314..700b9b9 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -35,7 +35,10 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/windows.yml#L35 ${{ runner.os }}-chocolatey- - name: Install libraries with chocolatey run: | - Choco-Install -PackageName openssl winflexbison3 + # Using Choco-Install for retries, but it doesn't detect failures properly + # if you pass multiple package names in a single command. + Choco-Install -PackageName openssl + Choco-Install -PackageName winflexbison3 shell: pwsh - name: git config run: | -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/