diff --git a/.github/workflows/pipeline-segment-electron-test.yml b/.github/workflows/pipeline-segment-electron-test.yml index 6bb55bd64f..13b68a0516 100644 --- a/.github/workflows/pipeline-segment-electron-test.yml +++ b/.github/workflows/pipeline-segment-electron-test.yml @@ -64,14 +64,19 @@ jobs: if: ${{ inputs.target-arch == 'arm64' && inputs.target-platform == 'windows' }} shell: powershell run: | + date Set-ExecutionPolicy Bypass -Scope Process -Force [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) + date choco install -y --no-progress git.install --params "'/GitAndUnixToolsOnPath'" + date choco install -y --no-progress git + date choco install -y --no-progress python --version 3.11.9 + date choco install -y --no-progress visualstudio2022-workload-vctools --package-parameters "--add Microsoft.VisualStudio.Component.VC.Tools.ARM64" - choco install -y --no-progress netfx-4.8 + date echo "C:\Program Files\Git\cmd" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append echo "C:\Program Files\Git\bin" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append echo "C:\Python311" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append