diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 228524db..30361932 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -83,7 +83,9 @@ jobs: echo "---------Install gn-------------------" Invoke-WebRequest -Uri 'https://chrome-infra-packages.appspot.com/dl/gn/gn/windows-amd64/+/latest' -OutFile '.\gn-windows-amd64.zip' Expand-Archive -Path '.\gn-windows-amd64.zip' -DestinationPath 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\Llvm\bin' - + echo "--------------------Install Ninja-build.Ninja ---------------------------" + winget search ninja + inget install --source winget --id Ninja-build.Ninja echo "---------------Install VisualStudio.2022---------------------- " winget install --source winget --id Microsoft.VisualStudio.2022.Community --override "--quiet --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Component.VC.ATLMFC --add Microsoft.VisualStudio.Component.Windows11SDK.22621 --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Llvm.Clang --includeRecommended"