Skip to content

Commit 3ad5240

Browse files
committed
kernel-build: ensure latest git version
Signed-off-by: Ihor Solodrai <[email protected]>
1 parent ccb6094 commit 3ad5240

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/kernel-build.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,19 @@ jobs:
7070
RUNNER_TYPE: ${{ contains(fromJSON(inputs.runs_on), 'codebuild') && 'codebuild' || 'default' }}
7171
steps:
7272

73+
# git version 2.43.0 (current Ubuntu 24 installation)
74+
# does not support git clone --revision option
75+
# so make sure latest git is installed
76+
- name: Install latest git
77+
shell: bash
78+
run: |
79+
sudo apt-get update
80+
sudo apt-get install -y software-properties-common
81+
sudo add-apt-repository -y ppa:git-core/ppa
82+
sudo apt-get update
83+
sudo apt-get install -y git
84+
git --version
85+
7386
- uses: actions/checkout@v4
7487
with:
7588
sparse-checkout: |

0 commit comments

Comments
 (0)