2023.9.1: If lifetime = 0, then lifetime = screen time #270
Workflow file for this run
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 | |
on: | |
workflow_dispatch: | |
push: | |
tags: | |
- develop | |
pull_request: | |
jobs: | |
build-stable: | |
name: Build stable ${{ matrix.firmware.name }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
firmware: | |
- file: tests/ulanzi-easy.yaml | |
name: Ulanzi-Easy | |
manifest_filename: ulanzi-easy-manifest.json | |
- file: tests/ehtmxv2-template.yaml | |
name: EHMTX template | |
manifest_filename: ehtmxv2-template-manifest.json | |
- file: tests/ehtmxv2-special.yaml | |
name: EHMTX template 8266 | |
manifest_filename: ehtmxv2-special-template-manifest.json | |
devfirmware: | |
- file: tests/ulanzi-easy.yaml | |
name: Ulanzi-Easy | |
manifest_filename: ulanzi-easy-manifest.json | |
fail-fast: false | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3.3.0 | |
- name: Build firmware | |
uses: esphome/build-action@v1.8.0 | |
id: esphome-build | |
with: | |
yaml_file: ${{ matrix.firmware.file }} | |
version: latest | |
build-develop: | |
name: Build develop ${{ matrix.firmware.name }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
firmware: | |
- file: tests/ulanzi-easy.yaml | |
name: Ulanzi-Easy | |
manifest_filename: ulanzi-easy-manifest.json | |
- file: tests/ehtmxv2-special.yaml | |
name: EHMTX template 8266 | |
manifest_filename: ehtmxv2-special-template-manifest.json | |
fail-fast: false | |
steps: | |
- name: Checkout source code | |
uses: actions/checkout@v3.3.0 | |
- name: Build firmware | |
uses: esphome/build-action@v1.8.0 | |
id: esphome-build | |
with: | |
yaml_file: ${{ matrix.firmware.file }} | |
version: beta |