Do not invoke envinfo on windows

Summary:
CI is broken. Let's not bother attempting to fixing it as it's attempting to call `envinfo` on Windows
which no one really looks into.
Also the maintainer is unresponsive: https://github.com/tabrindle/envinfo/issues/238

Changelog:
[Internal] [Changed] - Do not invoke envinfo on windows

Reviewed By: cipolleschi

Differential Revision: D53698194

fbshipit-source-id: db90ae6e773cf0a2f72ca1fc2d5faa3f56ed2edc
This commit is contained in:
Nicola Corti 2024-02-13 00:59:26 -08:00 committed by Facebook GitHub Bot
parent f32950a96d
commit 0575033f76

View File

@ -629,16 +629,6 @@ jobs:
name: Enable Yarn with corepack
command: corepack enable
# it looks like that, last week, envinfo released version 7.9.0 which does not works
# with Windows. I have opened an issue here: https://github.com/tabrindle/envinfo/issues/238
# TODO: T156811874 - Revert this to npx envinfo@latest when the issue is addressed
- run:
name: Display Environment info
command: |
npm install -g envinfo
envinfo -v
envinfo
- restore_cache:
keys:
- *windows_yarn_cache_key