runner icon indicating copy to clipboard operation
runner copied to clipboard

Make it easy to install `git` on an Action Runner Image

Open jww3 opened this issue 1 year ago • 1 comments

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.

Related Issues

  • https://github.com/actions/checkout/issues/1708

jww3 avatar May 03 '24 15:05 jww3

While we're at it, should we also perform these prerequisites to facilitate installation of the gh cli?

jww3 avatar May 03 '24 15:05 jww3