Skip to content

Commit 4be8c23

Browse files
committed
Add Git installation step for RHEL platforms in build jobs
1 parent 906cb18 commit 4be8c23

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/build-python-packages.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@ jobs:
8686
env:
8787
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.13.7' }}-${{ matrix.platform }}-${{ matrix.arch }}
8888
steps:
89+
- name: Install Git
90+
if: startsWith(matrix.platform, 'rhel')
91+
shell: bash
92+
run: sudo dnf install -y git
93+
8994
- name: Check out repository code
9095
uses: actions/checkout@v6
9196
with:
@@ -113,6 +118,11 @@ jobs:
113118
env:
114119
ARTIFACT_NAME: python-${{ inputs.VERSION || '3.13.7' }}-${{ matrix.platform }}-${{ matrix.arch }}
115120
steps:
121+
- name: Install Git
122+
if: startsWith(matrix.platform, 'rhel')
123+
shell: bash
124+
run: sudo dnf install -y git
125+
116126
- name: Check out repository code
117127
uses: actions/checkout@v6
118128
with:

0 commit comments

Comments
 (0)