-
Notifications
You must be signed in to change notification settings - Fork 15
34 lines (32 loc) · 922 Bytes
/
build.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
---
name: Build and publish
on: [push] # yamllint disable-line rule:truthy
jobs:
build:
name: Building ${{ matrix.file }}
runs-on: ubuntu-latest
if: needs.pr-check.outputs.number != 'null'
strategy:
matrix:
file:
- LILYGO-T-Higrow-ESP32.yaml
steps:
- name: Checkout source code
uses: actions/checkout@v3
- name: yaml-lint
uses: ibiqlik/action-yamllint@v3
with:
config_file: .github/yamllint.yml
- name: Build ESPHome firmware to verify configuration
uses: esphome/[email protected]
with:
yaml_file: ${{ matrix.file }}
publish:
needs: build
name: Publish firmware
uses: esphome/workflows/.github/workflows/publish.yml@main
with:
files: LILYGO-T-Higrow-ESP32.yaml
name: ESPHome Plant monitor
manifest_filename: lilygo-t-higrow-manifest.json
clean: false