From e11d7e4dda51c4c591fb35d9646fd75156148530 Mon Sep 17 00:00:00 2001 From: John Wesley Walker III <81404201+jww3@users.noreply.github.com> Date: Fri, 3 May 2024 17:04:17 +0200 Subject: [PATCH] Update pristine.yml --- .github/workflows/pristine.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pristine.yml b/.github/workflows/pristine.yml index b454fe6..53d74c5 100644 --- a/.github/workflows/pristine.yml +++ b/.github/workflows/pristine.yml @@ -15,9 +15,15 @@ jobs: run: | which git || echo "::warning::git does not appear to be installed" git --version || echo "::warning::could not determine installed version of git" + - name: "Update apt" + run: | + apt-get install software-properties-common + add-apt-repository ppa:git-core/ppa + apt update - name: "Install GH CLI" run: | mkdir -p -m 755 /etc/apt/keyrings + apt-get install wget -y wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | tee /etc/apt/sources.list.d/github-cli.list > /dev/null