From dcc8fc5d2542b1e2a513078c5ee20320f325a9e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E4=BC=A0=E8=8F=B2?= Date: Fri, 15 Mar 2024 14:46:23 +0800 Subject: [PATCH] test --- .github/workflows/container.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index e053582e..3c9f159e 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -36,8 +36,9 @@ jobs: Set-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem' -Name 'LongPathsEnabled' -Value 1 git config --system core.longpaths true $PSVersionTable.PSVersion - - + Invoke-WebRequest -Uri 'https://aka.ms/vs/17/release/vs_community.exe' -OutFile 'vs_community.exe' + &.\vs_community.exe --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 --quiet --all + Get-ChildItem -Path C:\Program Files\Microsoft Visual Studio\2022\Community\VC\ # - name: Modifying the registry # shell: powershell # run: |-