Git version problem with Ubuntu 18.04See original GitHub issue
Because the images use
ubuntu:18.04, the git version is
checkout@v3 throws this warning message:
The repository will be downloaded using the GitHub REST API To create a local Git repository instead, add Git 2.18 or higher to the PATH
This causes some problems with committing inside the
self-hosted runner, meaning you will get an error like this when you try to commit:
fatal: not a git repository (or any of the parent directories): .git
I don’t know if there’s a specific reason we use 18.04 but is it possible to bump the ubuntu version to 20.04 since it is LTS as well?
- Created a year ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
ubuntu-latest is actually
ubuntu-20.04, specifying just
linux hangs, and all Ubuntu versions contain the latest git 2.36.1. I’ll open a PR to update to latest git on all images.
great to hear, thank you.