From 7c346e107283a1f6c74ec159f86bc78c20c0ade5 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun 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(-) (limited to '.github') diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index c8e431451f..700b9b95fc 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -35,7 +35,10 @@ jobs: ${{ 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.2.3