Update workflow to use preprepared docker image
All checks were successful
Compile / Compile (push) Successful in 1m18s
All checks were successful
Compile / Compile (push) Successful in 1m18s
Clean up YML Specify path for pio explicitly
This commit is contained in:
parent
5367843ac1
commit
1b843ce4b4
1 changed files with 6 additions and 13 deletions
|
@ -5,17 +5,10 @@ jobs:
|
||||||
Compile:
|
Compile:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Setup PlatformIO
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
|
- name: Compile
|
||||||
run: |
|
run: |
|
||||||
apt update
|
cd ${{ github.workspace }}
|
||||||
apt -y install curl git python3 python3-pip
|
/root/.platformio/penv/bin/pio run
|
||||||
python3 -m pip install --upgrade pip
|
|
||||||
pip3 install -U platformio
|
|
||||||
pio upgrade --dev
|
|
||||||
- name: Setup node
|
|
||||||
run: |
|
|
||||||
curl -fsSL https://deb.nodesource.com/setup_20.x | bash -
|
|
||||||
apt-get install -y nodejs
|
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- run: cd ${{ github.workspace }}
|
|
||||||
- run: pio run
|
|
||||||
|
|
Loading…
Reference in a new issue