Files
esp32-configs/.github/workflows/publish-firmware.yml
T
2025-07-23 17:56:25 +08:00

44 lines
1.3 KiB
YAML

name: Publish Firmware
on:
release:
types: [published]
permissions:
contents: write
jobs:
build-firmware:
name: Build Firmware
uses: esphome/workflows/.github/workflows/build.yml@2025.7.0
with:
#### Modify below here to match your project ####
files: |
athom-2ch-relay-board.yaml
athom-4ch-relay-board.yaml
athom-8ch-relay-board.yaml
athom-energy-monitor-x2.yaml
athom-energy-monitor-x6.yaml
athom-garage-door.yaml
athom-mini-relay-v2.yaml
athom-smart-plug.yaml
athom-zigbee-gateway.yaml
athom-presence-sensor-v3.yaml
athom-scd40-sensor.yaml
athom-sht40-sensor.yaml
athom-ld2450-sensor.yaml
esphome-version: 2025.7.0
combined-name: Athom-ESP32-Device
#### Modify above here to match your project ####
release-summary: ${{ github.event.release.body }}
release-url: ${{ github.event.release.html_url }}
release-version: ${{ github.event.release.tag_name }}
upload-to-release:
name: Upload to Release
uses: esphome/workflows/.github/workflows/upload-to-gh-release.yml@2025.7.0
needs:
- build-firmware
with:
version: ${{ github.event.release.tag_name }}