Skip to content

Commit

Permalink
Update pristine.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jww3 authored May 3, 2024
1 parent 12aa7b0 commit 08cdf2f
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/pristine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,15 @@ jobs:
apt-get install software-properties-common -y
add-apt-repository ppa:git-core/ppa
apt update
apt install git -y
# - name: "Install GH CLI"
# run: |
# mkdir -p -m 755 /etc/apt/keyrings
# 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
# apt update
# apt install gh -y
# apt show gh
- name: "Install GH CLI"
run: |
mkdir -p -m 755 /etc/apt/keyrings
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
apt update
apt install gh -y
apt show gh
- name: "Print git --version"
run: |
which git || echo "::warning::git does not appear to be installed"
Expand Down

0 comments on commit 08cdf2f

Please sign in to comment.