mirror of
https://github.com/actions/python-versions.git
synced 2025-12-13 22:17:32 +00:00
Update build-python-packages.yml with git install
This commit is contained in:
10
.github/workflows/build-python-packages.yml
vendored
10
.github/workflows/build-python-packages.yml
vendored
@@ -85,6 +85,16 @@ jobs:
|
|||||||
shell: powershell
|
shell: powershell
|
||||||
run: |
|
run: |
|
||||||
echo "C:\Program Files\PowerShell\7" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
echo "C:\Program Files\PowerShell\7" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
||||||
|
|
||||||
|
- name: Install Git
|
||||||
|
shell: cmd
|
||||||
|
run: |
|
||||||
|
choco install git -y
|
||||||
|
|
||||||
|
- name: Add Git to PATH
|
||||||
|
shell: powershell
|
||||||
|
run: |
|
||||||
|
echo "C:\Program Files\Git\cmd" | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
|
||||||
- name: Check git version
|
- name: Check git version
|
||||||
run: |
|
run: |
|
||||||
git --version
|
git --version
|
||||||
|
|||||||
Reference in New Issue
Block a user