Skip to content

Commit aa18fcb

Browse files
author
andy-neuma
committed
bisect
1 parent a55f344 commit aa18fcb

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

actions/install-automation-components/action.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@ runs:
1010
# packages
1111
sudo apt-get update --fix-missing
1212
sudo apt-get install -y curl git-all wget jq
13-
# gh cli
14-
(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \
15-
&& sudo mkdir -p -m 755 /etc/apt/keyrings \
16-
&& wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
17-
&& sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
18-
&& 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 \
19-
&& sudo apt update \
20-
&& sudo apt install gh -y
2113
# install gcc
2214
sudo apt update -y
23-
sudo apt install -y gcc g++ lld
15+
sudo apt install -y gcc-10 g++-10 lld
16+
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 110 --slave /usr/bin/g++ g++ /usr/bin/g++-10
17+
# # gh cli
18+
# (type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \
19+
# && sudo mkdir -p -m 755 /etc/apt/keyrings \
20+
# && wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
21+
# && sudo chmod go+r /etc/apt/keyrings/githubcli-archive-keyring.gpg \
22+
# && 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 \
23+
# && sudo apt update \
24+
# && sudo apt install gh -y

0 commit comments

Comments
 (0)