Skip to content

24.11.1

24.11.1 #63

Workflow file for this run

name: Build
on:
pull_request:
workflow_dispatch:
release:
types: [published]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-firmware:
name: Build Firmware
uses: esphome/workflows/.github/workflows/[email protected]
with:
files: |
esp32-s3-box/esp32-s3-box.factory.yaml
esp32-s3-box-lite/esp32-s3-box-lite.factory.yaml
esp32-s3-box-3/esp32-s3-box-3.factory.yaml
m5stack-atom-echo/m5stack-atom-echo.factory.yaml
esphome-version: 2024.11.1
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-firmware
uses: esphome/workflows/.github/workflows/[email protected]
with:
directory: wake-word-voice-assistant
secrets: inherit
upload-to-release:
name: Upload to Release
if: github.event_name == 'release'
uses: esphome/workflows/.github/workflows/[email protected]
needs:
- build-firmware
with:
version: ${{ github.event.release.tag_name }}
promote-beta:
name: Promote to Beta
if: github.event_name == 'release'
uses: esphome/workflows/.github/workflows/[email protected]
needs:
- upload-to-r2
with:
version: ${{ github.event.release.tag_name }}
directory: wake-word-voice-assistant
channel: beta
manifest-filename: manifest-beta.json
secrets: inherit
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: wake-word-voice-assistant
channel: production
manifest-filename: manifest.json
secrets: inherit