From d8b727c6bfc21ba256ea10719f5149113572f4b9 Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Thu, 21 Nov 2024 02:20:30 -0800 Subject: [PATCH] Allow downgrading CMake to build hermesc on Windows (#47867) Summary: CI is failing to build HermesC on windows due to a version mismatch of the CMake already installed ## Changelog: [Internal] - Fix Windows CI for HermesC Pull Request resolved: https://github.com/facebook/react-native/pull/47867 Test Plan: GHA Reviewed By: robhogan Differential Revision: D66292617 Pulled By: cipolleschi fbshipit-source-id: 5e8f4f45e33fbdd9ff163b4e8a09cb98d4366dc7 --- .github/actions/build-hermesc-windows/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/build-hermesc-windows/action.yml b/.github/actions/build-hermesc-windows/action.yml index 743e820942fca0..50820d44e0dcfe 100644 --- a/.github/actions/build-hermesc-windows/action.yml +++ b/.github/actions/build-hermesc-windows/action.yml @@ -43,7 +43,7 @@ runs: shell: powershell run: | if (-not(Test-Path -Path $Env:HERMES_WS_DIR\win64-bin\hermesc.exe)) { - choco install --no-progress cmake --version 3.14.7 + choco install --no-progress cmake --version 3.14.7 --allow-downgrade if (-not $?) { throw "Failed to install CMake" } cd $Env:HERMES_WS_DIR\icu