Feature: Several Basic and Advanced Settings, Event logs, Last Unlock User #50
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 Component | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Compile for main | |
if: github.ref == 'refs/heads/main' | |
uses: esphome/build-action@v4.0.1 | |
with: | |
yaml-file: .github/example-project-main.yaml | |
- name: Compile for dev | |
if: github.ref != 'refs/heads/main' | |
uses: esphome/build-action@v4.0.1 | |
with: | |
yaml-file: .github/example-project-dev.yaml |