From 8e7c2b2bd45efe96c9a24ff146e813b9a06bbe6f Mon Sep 17 00:00:00 2001 From: midays Date: Thu, 21 Nov 2024 16:19:27 +0200 Subject: [PATCH] try different installation way Signed-off-by: midays --- .github/workflows/windows-nightly-ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/windows-nightly-ci.yml b/.github/workflows/windows-nightly-ci.yml index b848afdd..8ca3c540 100644 --- a/.github/workflows/windows-nightly-ci.yml +++ b/.github/workflows/windows-nightly-ci.yml @@ -21,10 +21,12 @@ jobs: runs-on: ${{ needs.run-provisioner-workflow.outputs.instance_label }} steps: - - name: Install Visual Studio Code using winget + - name: Install Visual Studio Code shell: powershell run: | - winget install -e --id Microsoft.VisualStudioCode -h --silent + $InstallerPath = "C:\vscode-installer.exe" + Invoke-WebRequest -Uri "https://update.code.visualstudio.com/latest/win32-x64-user/stable" -OutFile $InstallerPath + Start-Process -FilePath $InstallerPath -ArgumentList "/silent" -Wait - name: Check VSCode installation shell: powershell