Skip to content

Updates for ESPHome 2024.9.0 (#265) #609

Updates for ESPHome 2024.9.0 (#265)

Updates for ESPHome 2024.9.0 (#265) #609

Workflow file for this run

name: Build
on:
push:
branches:
- main
pull_request:
paths:
- 'esp-web-tools/**'
- 'esphome-web/**'
- '.github/workflows/build.yml'
workflow_dispatch:
release:
types: [published]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build-esp-web-tools-firmware:
name: ESP Web Tools
uses: esphome/workflows/.github/workflows/build.yml@main
with:
files: |
esp-web-tools/esp32.yaml
esp-web-tools/esp32c3.yaml
esp-web-tools/esp32s2.yaml
esp-web-tools/esp32s3.yaml
esp-web-tools/esp8266.yaml
esphome-version: 2024.7.3
combined-name: esp-web-tools
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-esphome-web-firmware:
name: ESPHome Web
uses: esphome/workflows/.github/workflows/build.yml@main
with:
files: |
esphome-web/esp32.yaml
esphome-web/esp32c3.yaml
esphome-web/esp32s2.yaml
esphome-web/esp32s3.yaml
esphome-web/esp8266.yaml
esphome-web/pico-w.yaml
esphome-version: 2024.7.3
combined-name: esphome-web
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:
if: github.event_name == 'release' || (github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/main')
name: Upload to R2
needs:
- build-esp-web-tools-firmware
- build-esphome-web-firmware
uses: esphome/workflows/.github/workflows/upload.yml@main
with:
directory: "."
version: ${{ needs.build-esp-web-tools-firmware.outputs.version }}
secrets: inherit