From 1a28058ac3b10cceff33caf3f37be9880058017f Mon Sep 17 00:00:00 2001 From: Tim Yung Date: Wed, 28 Sep 2022 10:57:07 -0700 Subject: [PATCH] RN: Switch to `Choco-Install` from Windows Hermes CI (#34811) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/34811 Switches the Windows Hermes CI step to use `Choco-Install` which implicitly supports retries for more reliable builds. See: https://github.com/actions/runner-images/pull/721 Changelog: [Internal] Reviewed By: rickhanlonii Differential Revision: D39890407 fbshipit-source-id: 69c03845d2f2160fb39219dd4a5fff90a00de278 --- .circleci/config.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index c22de42d947..82e36ca6b47 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1204,9 +1204,9 @@ jobs: name: Build HermesC for Windows command: | if (-not(Test-Path -Path $Env:HERMES_WS_DIR\win64-bin\hermesc.exe)) { - choco install --no-progress cmake --version 3.14.7 + Choco-Install -PackageName cmake -ArgumentList "--no-progress", "--version 3.14.7" if (-not $?) { throw "Failed to install CMake" } - choco install --no-progress python3 + Choco-Install -PackageName python3 -ArgumentList "--no-progress" if (-not $?) { throw "Failed to install Python" } cd $Env:HERMES_WS_DIR\icu