Skip to content

[Github] Workflow Releases #2

[Github] Workflow Releases

[Github] Workflow Releases #2

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.cache/pip
~/.platformio/.cache
key: ${{ runner.os }}-pio
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install PlatformIO Core
run: pip install --upgrade platformio
- name: Build PlatformIO Project
run: pio run
- name: Upload firmware artifacts
uses: actions/upload-artifact@v4
with:
name: firmware
path: |
.pio/build/*/firmware.bin # Ensure this path matches your environment output