Skip to content

Commit

Permalink
Add Sudo to CI commands
Browse files Browse the repository at this point in the history
  • Loading branch information
gabryelreyes committed Apr 15, 2024
1 parent 986130a commit 5aa61a9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/simulation_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ jobs:
- name: Install Webots
run: |
apt-get update
mkdir -p /etc/apt/keyrings
wget -q https://cyberbotics.com/Cyberbotics.asc
echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/Cyberbotics.asc] https://cyberbotics.com/debian binary-amd64/" | sudo tee /etc/apt/sources.list.d/Cyberbotics.list
apt update
apt install -y webots
sudo apt-get update
sudo mkdir -p /etc/apt/keyrings
sudo wget -q https://cyberbotics.com/Cyberbotics.asc
sudo echo "deb [arch=amd64 signed-by=/etc/apt/keyrings/Cyberbotics.asc] https://cyberbotics.com/debian binary-amd64/" | sudo tee /etc/apt/sources.list.d/Cyberbotics.list
sudo apt update
sudo apt install -y webots
- name: Compile ${{ matrix.environment }} firmware
run: platformio run --environment ${{ matrix.environment }}

0 comments on commit 5aa61a9

Please sign in to comment.