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