The version of git (v2.34.1) associated with ubuntu:jammy is quite old at this point. Calling apt update out-of-the-box won't cause any newer version to be discovered.
This change allows users of the actions/runner container image to easily install more modern versions of git (e.g. v2.43.0) should they desire.
Note that we don't actually install git. We simply get the prerequisites out of the way.
The version of
git
(v2.34.1
) associated withubuntu:jammy
is quite old at this point. Callingapt update
out-of-the-box won't cause any newer version to be discovered.This change allows users of the actions/runner container image to easily install more modern versions of git (e.g.
v2.43.0
) should they desire.Note that we don't actually install
git
. We simply get the prerequisites out of the way.Related Issues