From 00d5caee9921b6c10be8f7d5b3903c6afe8dbefa Mon Sep 17 00:00:00 2001 From: Riccardo Cipolleschi Date: Thu, 5 Dec 2024 09:19:58 -0800 Subject: [PATCH] Do not install CMake on Windows machine (#48122) Summary: GHA to build HermesC for windows are failing because the machines comes with a different CMake version already. Let's try not to install Cmake and use the one provided by the machine. ## Changelog: [Internal] - Pull Request resolved: https://github.com/facebook/react-native/pull/48122 Test Plan: GHA {F1973187648} Reviewed By: alanleedev Differential Revision: D66825216 Pulled By: cipolleschi fbshipit-source-id: 9a9376a5409e192195a6b6cc25b4d58cb47f15da --- .github/actions/build-hermesc-windows/action.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/actions/build-hermesc-windows/action.yml b/.github/actions/build-hermesc-windows/action.yml index 50820d44e0dcfe..aec9927e36e30b 100644 --- a/.github/actions/build-hermesc-windows/action.yml +++ b/.github/actions/build-hermesc-windows/action.yml @@ -43,9 +43,6 @@ 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 --allow-downgrade - if (-not $?) { throw "Failed to install CMake" } - cd $Env:HERMES_WS_DIR\icu # If Invoke-WebRequest shows a progress bar, it will fail with # Win32 internal error "Access is denied" 0x5 occurred [...]