Skip to content

Add usage section

Add usage section #1

Workflow file for this run

name: PlatformIO CI
on: [push]

Check failure on line 3 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 3
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
example:
- examples/hello_world
- examples/touch_button
- examples/dial_number
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.9'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Build PlatformIO examples
run: pio run --project-dir ${{ matrix.example }}