diff options
author | Takashi Kokubun <[email protected]> | 2021-05-10 21:32:55 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2021-05-10 21:33:56 -0700 |
commit | 7c346e107283a1f6c74ec159f86bc78c20c0ade5 (patch) | |
tree | 92b536652512ae0ec55486015587a2465886d6b3 | |
parent | e2ccc3301e2c69533b9ef2464613781c6c964c3a (diff) |
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
-rw-r--r-- | .github/workflows/windows.yml | 5 |
1 files changed, 4 insertions, 1 deletions
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: | |