Skip to content

Commit 09ac777

Browse files
authored
Merge pull request linorobot#73 from atticusrussell/rolling
Fix CI by using separate action to install PlatformIO environment
2 parents f2872ac + fc39599 commit 09ac777

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: 'platformio-env'
2+
description: 'Install Platform.IO environment'
3+
runs:
4+
using: "composite"
5+
steps:
6+
- id: install-platformio-env
7+
shell: bash
8+
run: |
9+
sudo apt-get update
10+
export DEBIAN_FRONTEND=noninteractive
11+
sudo apt-get install -y git curl python3 python3-pip python3-venv git cmake
12+
curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
13+
python3 get-platformio.py
14+
echo 'export PATH=$PATH:~/.platformio/penv/bin' >> ~/.bashrc
15+

0 commit comments

Comments
 (0)