File tree 1 file changed +1
-1
lines changed
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -17,11 +17,11 @@ jobs:
17
17
git --version || echo "::warning::could not determine installed version of git"
18
18
- name : " Install GH CLI"
19
19
run : |
20
- (type -p wget >/dev/null || (apt update && apt-get install wget -y))
21
20
mkdir -p -m 755 /etc/apt/keyrings
22
21
wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null
23
22
chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg
24
23
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
24
+ apt-get install software-properties-common
25
25
add-apt-repository ppa:git-core/ppa
26
26
apt update
27
27
apt install gh -y
You can’t perform that action at this time.
0 commit comments