mirror of
https://github.com/actions/python-versions.git
synced 2026-05-29 00:16:10 +08:00
Add Git installation step for RHEL platforms in build jobs
This commit is contained in:
10
.github/workflows/build-python-packages.yml
vendored
10
.github/workflows/build-python-packages.yml
vendored
@@ -86,6 +86,11 @@ jobs:
|
||||
env:
|
||||
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.13.7' }}-${{ matrix.platform }}-${{ matrix.arch }}
|
||||
steps:
|
||||
- name: Install Git
|
||||
if: startsWith(matrix.platform, 'rhel')
|
||||
shell: bash
|
||||
run: sudo dnf install -y git
|
||||
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
@@ -113,6 +118,11 @@ jobs:
|
||||
env:
|
||||
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.13.7' }}-${{ matrix.platform }}-${{ matrix.arch }}
|
||||
steps:
|
||||
- name: Install Git
|
||||
if: startsWith(matrix.platform, 'rhel')
|
||||
shell: bash
|
||||
run: sudo dnf install -y git
|
||||
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v6
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user