ota update

This commit is contained in:
2026-08-16 14:52:23 +02:00
parent fb09b2b7a1
commit a02e280f42
4 changed files with 69 additions and 23 deletions

View File

@@ -0,0 +1,29 @@
name: Build Release
on:
push:
tags: ['v*']
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install PlatformIO
run: pip install platformio
- name: Build firmware
run: pio run
- name: Upload firmware.bin to release
uses: actions/upload-release-asset@v1
with:
upload_url: ${{ gitea.release.upload_url }}
asset_path: .pio/build/esp32dev/firmware.bin
asset_name: firmware.bin
asset_content_type: application/octet-stream