Skip to content

Commit

Permalink
Update pristine.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jww3 authored Apr 29, 2024
1 parent abf30f8 commit c78283e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/pristine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,13 @@ jobs:
git --version || echo "::warning::could not determine installed version of git"
- name: "Install GH CLI"
run: |
apt-get update
apt-get install gh -y
(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y))
sudo 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
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 show gh
- name: "Print git --version"
run: |
Expand Down

0 comments on commit c78283e

Please sign in to comment.