File tree Expand file tree Collapse file tree 1 file changed +10
-9
lines changed
actions/install-automation-components Expand file tree Collapse file tree 1 file changed +10
-9
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,15 @@ runs:
10
10
# packages
11
11
sudo apt-get update --fix-missing
12
12
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
21
13
# install gcc
22
14
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
You can’t perform that action at this time.
0 commit comments