Update esphome/build-action action to v3.1.0 #109
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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@v4 | |
- 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: bruvv/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 |