forked from tarontop/athom-configs
-
Notifications
You must be signed in to change notification settings - Fork 141
53 lines (48 loc) · 1.43 KB
/
publish-firmware.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Publish Firmware
on:
release:
types: [published]
permissions:
contents: write
jobs:
build-firmware:
name: Build Firmware
uses: esphome/workflows/.github/workflows/build.yml@2024.12.0
with:
#### Modify below here to match your project ####
files: |
athom-cb02.yaml
athom-garage-door.yaml
athom-mini-switch.yaml
athom-presence-sensor.yaml
athom-relay-board-x1.yaml
athom-relay-board-x2.yaml
athom-relay-board-x4.yaml
athom-relay-board-x8.yaml
athom-rgb-light.yaml
athom-rgbct-light.yaml
athom-rgbw-light.yaml
athom-rgbww-light.yaml
athom-smart-plug-v2.yaml
athom-smart-plug.yaml
athom-sw01-v2.yaml
athom-sw01.yaml
athom-sw02-v2.yaml
athom-sw02.yaml
athom-sw03.yaml
athom-sw04.yaml
athom-wall-outlet.yaml
athom-without-relay-plug.yaml
esphome-version: 2024.10.3
combined-name: athom
#### 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@2024.12.0
needs:
- build-firmware
with:
version: ${{ github.event.release.tag_name }}