Skip to content

Commit

Permalink
Merge pull request #18 from ElevatedSensors/main
Browse files Browse the repository at this point in the history
Update CI to build/upload fw on dev branches
  • Loading branch information
stephenpapierski authored Sep 10, 2024
2 parents dbb7941 + 3f257ee commit 65c7b96
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/workflow-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: CI

on:
pull_request:
push:
branches:
- '!main'
- '!dependabot/**'
- '!gh-pages'
workflow_dispatch:

jobs:
ci:
Expand All @@ -10,11 +16,15 @@ jobs:
strategy:
matrix:
file:
- bed-presence-mk1.yaml
- bed-presence-mk1.factory.yaml
steps:
- name: Checkout source code
uses: actions/checkout@v4.1.7
- name: Build ESPHome firmware to verify configuration
uses: esphome/build-action@v4.0.1
with:
yaml-file: ${{ matrix.file }}
- uses: actions/upload-artifact@v4.3.6
with:
name: ${{ matrix.file }}
path: ${{ steps.esphome-build.outputs.name }}

0 comments on commit 65c7b96

Please sign in to comment.