Skip to content

Commit

Permalink
updates to install automation components (#38)
Browse files Browse the repository at this point in the history
* bisect

* okay

* tickle

* remove apt-get

---------

Co-authored-by: andy-neuma <[email protected]>
  • Loading branch information
andy-neuma and andy-neuma authored Oct 16, 2024
1 parent a55f344 commit c8d2034
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions actions/install-automation-components/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ runs:
- shell: bash
run: |-
# packages
sudo apt-get update --fix-missing
sudo apt-get install -y curl git-all wget jq
sudo apt update -y
sudo apt install -y curl git-all wget jq
# install gcc
sudo apt install -y gcc-10 g++-10 lld
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 110 --slave /usr/bin/g++ g++ /usr/bin/g++-10
# gh cli
(type -p wget >/dev/null || (sudo apt update && sudo apt-get install wget -y)) \
(type -p wget >/dev/null || (sudo apt update && sudo apt install wget -y)) \
&& sudo mkdir -p -m 755 /etc/apt/keyrings \
&& wget -qO- https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo tee /etc/apt/keyrings/githubcli-archive-keyring.gpg > /dev/null \
&& sudo 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" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null \
&& sudo apt update \
&& sudo apt install gh -y
# install gcc
sudo apt update -y
sudo apt install -y gcc g++ lld

0 comments on commit c8d2034

Please sign in to comment.