]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] Run `apt update` before `apt install git` in autoconf CI job (GH-127071)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 20 Nov 2024 19:37:24 +0000 (20:37 +0100)
committerGitHub <noreply@github.com>
Wed, 20 Nov 2024 19:37:24 +0000 (19:37 +0000)
(cherry picked from commit 0af4ec30bd2e3a52350344d1011c0c125d6dcd71)

Co-authored-by: Zachary Ware <zach@python.org>
.github/workflows/build.yml

index 329ebc42a301b4d7a3d4713fc89f85a844d64597..f7f96ceb574cc03827a47552079c9eb66bb148a3 100644 (file)
@@ -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: