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