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 530428b commit 12aa7b0
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/pristine.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,16 @@ jobs:
apt-get install software-properties-common -y
add-apt-repository ppa:git-core/ppa
apt update
- 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
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: "Print git --version"
run: |
which git || echo "::warning::git does not appear to be installed"
Expand Down

0 comments on commit 12aa7b0

Please sign in to comment.