try to speed up git install on WOA

This commit is contained in:
John Kleinschmidt
2024-11-26 14:41:13 -05:00
parent 0ed0b1716a
commit c68993bba2

View File

@@ -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