Skip to content

Add screenshots and correct SWD restore status in README #5

Add screenshots and correct SWD restore status in README

Add screenshots and correct SWD restore status in README #5

Workflow file for this run

name: PlatformIO CI
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main, develop ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache PlatformIO
uses: actions/cache@v4
with:
path: |
~/.platformio
.pio
key: ${{ runner.os }}-pio-${{ hashFiles('**/platformio.ini') }}
restore-keys: |
${{ runner.os }}-pio-
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install PlatformIO
run: |
python -m pip install --upgrade pip
pip install platformio
- name: Build firmware
run: pio run
- name: Build filesystem
run: pio run --target buildfs
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: firmware-build
path: .pio/build/**/firmware.bin
retention-days: 30