From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 20 Nov 2024 19:37:24 +0000 (+0100) Subject: [3.12] Run `apt update` before `apt install git` in autoconf CI job (GH-127071) X-Git-Tag: v3.12.8~46 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=512a5bdb2f409cc924214806d09cd266c36249cc;p=thirdparty%2FPython%2Fcpython.git [3.12] Run `apt update` before `apt install git` in autoconf CI job (GH-127071) (cherry picked from commit 0af4ec30bd2e3a52350344d1011c0c125d6dcd71) Co-authored-by: Zachary Ware --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 329ebc42a301..f7f96ceb574c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -104,7 +104,7 @@ jobs: steps: - name: Install Git run: | - apt install git -yq + apt update && apt install git -yq git config --global --add safe.directory "$GITHUB_WORKSPACE" - uses: actions/checkout@v4 with: