diff --git a/.github/workflows/pristine.yml b/.github/workflows/pristine.yml index 29a5006..a09299d 100644 --- a/.github/workflows/pristine.yml +++ b/.github/workflows/pristine.yml @@ -18,12 +18,12 @@ jobs: - name: "Install GH CLI" run: | (type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) - sudo mkdir -p -m 755 /etc/apt/keyrings + 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 - sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg + 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 - sudo apt update - sudo apt install gh -y + apt update + apt install gh -y apt show gh - name: "Print git --version" run: |