Skip to content

PlatformIO CI

PlatformIO CI #5

name: PlatformIO CI
on: [workflow_dispatch]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v4
with:
python-version: '3.11'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Restore Project
shell: pwsh
run: .\scripts\Restore-Project.ps1 -checkoutHash -wait=False
- name: Build PlatformIO Project
run: pio run -t upload -e release_REG1_V1