Skip to content

Commit fdeb1ea

Browse files
authored
Update Ubuntu in CI (#118)
* Update CI * Update PlatformIO installer
1 parent 79f8dc2 commit fdeb1ea

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.github/actions/platformio-env/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ runs:
99
apt update
1010
export DEBIAN_FRONTEND=noninteractive
1111
apt install -y git curl python3 python3-pip python3-venv git cmake
12-
python3 -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)"
12+
curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
13+
python3 get-platformio.py
1314
echo 'export PATH=$PATH:~/.platformio/penv/bin' >> ~/.bashrc
1415

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ on:
88
jobs:
99

1010
micro_ros_platformio:
11-
runs-on: ubuntu-20.04
12-
container: ubuntu:20.04
11+
runs-on: ubuntu-22.04
12+
container: ubuntu:22.04
1313

1414
strategy:
1515
fail-fast: false

0 commit comments

Comments
 (0)