Skip to content

S3 updates based on switch to IDF 5.1+ #106

S3 updates based on switch to IDF 5.1+

S3 updates based on switch to IDF 5.1+ #106

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
release:
types: [published]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-generic-firmware:
name: Build Generic Firmware
uses: esphome/workflows/.github/workflows/[email protected]
with:
files: |
esp32-generic/esp32-generic.factory.yaml
esp32-generic/esp32-generic-c3.factory.yaml
esp32-generic/esp32-generic-s3.factory.yaml
esphome-version: 2024.12.2
combined-name: esp32-generic
release-summary: ${{ github.event_name == 'release' && github.event.release.body || '' }}
release-url: ${{ github.event_name == 'release' && github.event.release.html_url || '' }}
release-version: ${{ github.event_name == 'release' && github.event.release.tag_name || '' }}
build-device-firmware:
name: Build Device Firmware
uses: esphome/workflows/.github/workflows/[email protected]
with:
files: |
gl-inet/gl-s10.factory.yaml
lilygo/lilygo-t-eth-poe.factory.yaml
m5stack/m5stack-atom-lite.factory.yaml
m5stack/m5stack-atom-s3.factory.yaml
olimex/olimex-esp32-poe-iso.factory.yaml
wt32/wt32-eth01.factory.yaml
esphome-version: 2024.12.2
release-summary: ${{ github.event_name == 'release' && github.event.release.body || '' }}
release-url: ${{ github.event_name == 'release' && github.event.release.html_url || '' }}
release-version: ${{ github.event_name == 'release' && github.event.release.tag_name || '' }}
upload-to-r2:
if: github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main')
name: Upload to R2
needs:
- build-generic-firmware
- build-device-firmware
uses: esphome/workflows/.github/workflows/[email protected]
with:
directory: bluetooth-proxy
secrets: inherit
upload-to-release:
name: Upload to Release
if: github.event_name == 'release'
uses: esphome/workflows/.github/workflows/[email protected]
needs:
- build-generic-firmware
- build-device-firmware
with:
version: ${{ github.event.release.tag_name }}
promote-prod:
name: Promote to Production
if: github.event_name == 'release' && github.event.release.prerelease == false
uses: esphome/workflows/.github/workflows/[email protected]
needs:
- upload-to-r2
with:
version: ${{ github.event.release.tag_name }}
directory: bluetooth-proxy
channel: production
manifest-filename: manifest.json
secrets: inherit