Skip to content

Commit d6c47e3

Browse files
committed
try git again
1 parent 92bdb89 commit d6c47e3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yaml

+7-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,13 @@ jobs:
251251
# The centos container doesn't have Git 2.18.0 or higher
252252
# so we install git again, otherwise submodules won't be installed
253253
- name: Install Git
254-
run: yum install -y git
254+
# Source: https://www.tutorialspoint.com/how-to-install-the-latest-version-of-git-on-centos-7-x-6-x
255+
run: |
256+
yum install epel-release
257+
yum remove git
258+
rpm -U https://centos7.iuscommunity.org/ius-release.rpm
259+
yum install git2u
260+
git --version
255261
256262
- name: Checkout repo
257263
uses: actions/checkout@v3

0 commit comments

Comments
 (0)