Skip to content

Commit

Permalink
Merge pull request #73 from atticusrussell/rolling
Browse files Browse the repository at this point in the history
Fix CI by using separate action to install PlatformIO environment
  • Loading branch information
grassjelly authored Nov 13, 2023
2 parents f2872ac + fc39599 commit 09ac777
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/actions/platformio-env/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: 'platformio-env'
description: 'Install Platform.IO environment'
runs:
using: "composite"
steps:
- id: install-platformio-env
shell: bash
run: |
sudo apt-get update
export DEBIAN_FRONTEND=noninteractive
sudo apt-get install -y git curl python3 python3-pip python3-venv git cmake
curl -fsSL -o get-platformio.py https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py
python3 get-platformio.py
echo 'export PATH=$PATH:~/.platformio/penv/bin' >> ~/.bashrc

0 comments on commit 09ac777

Please sign in to comment.