Create build-platformio.sh
parent
b4ff7675a4
commit
40bfde6f08
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Exit immediately if a command exits with a non-zero status.
|
||||||
|
set -e
|
||||||
|
|
||||||
|
# Make sure we are inside the github workspace
|
||||||
|
cd $GITHUB_WORKSPACE
|
||||||
|
|
||||||
|
# Install PlatformIO CLI
|
||||||
|
export PATH=$PATH:~/.platformio/penv/bin
|
||||||
|
curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core-installer/master/get-platformio.py -o get-platformio.py
|
||||||
|
python3 get-platformio.py
|
Loading…
Reference in New Issue