Skip to content

Commit

Permalink
Add build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
abichinger committed Feb 8, 2024
1 parent 79c6b68 commit b7c4769
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install ESPHome
run: |
python3 -m venv venv
source venv/bin/activate
pip3 install wheel esphome
- name: Build firmware
run: venv/bin/esphome compile esphome/config.yaml

0 comments on commit b7c4769

Please sign in to comment.