Skip to content

small cleanups

small cleanups #8

Workflow file for this run

name: PlatformIO CI
on:
push:
paths: # only run if firmware changes
- 'firmware/**'
- '.github/workflows/firmware.yml'
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./firmware/esp32/gdoor
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Build PlatformIO Project
run: pio run
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: gdoor_firmware
path: ./firmware/esp32/gdoor/.pio/build/GDOOR_ESP32MINI/*.bin