From 647f400705f8a5486a0790ac05076952c096a449 Mon Sep 17 00:00:00 2001 From: John Wesley Walker III <81404201+jww3@users.noreply.github.com> Date: Tue, 30 Apr 2024 00:32:52 +0200 Subject: [PATCH] Update pristine.yml --- .github/workflows/pristine.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pristine.yml b/.github/workflows/pristine.yml index a09299d..8213ede 100644 --- a/.github/workflows/pristine.yml +++ b/.github/workflows/pristine.yml @@ -17,11 +17,11 @@ jobs: git --version || echo "::warning::could not determine installed version of git" - name: "Install GH CLI" run: | - (type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) + (type -p wget >/dev/null || (apt update && apt-get install wget -y)) mkdir -p -m 755 /etc/apt/keyrings - wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null + 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" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null + 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 apt update apt install gh -y apt show gh