Skip to content

Commit 8d3d971

Browse files
committed
Test install git
1 parent c637eed commit 8d3d971

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/windows.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ jobs:
2929
name: Building Windows aarch64
3030
runs-on: windows-arm64
3131
steps:
32+
- name: Install Git
33+
run: |
34+
Set-ExecutionPolicy Bypass -Scope Process -Force
35+
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072
36+
iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
37+
choco install -y --no-progress git
38+
echo "C:\Program Files\Git\cmd" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
39+
3240
- uses: actions/checkout@v3
3341

3442
- name: Checkout submodules

0 commit comments

Comments
 (0)