Skip to content

Commit 28d493f

Browse files
committed
CI build
1 parent 721b2e1 commit 28d493f

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/build.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Build ESPHome Configs
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
jobs:
10+
compile:
11+
name: Compile ESPHome configs
12+
runs-on: ubuntu-latest
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
config:
17+
- interactive-map.yaml
18+
steps:
19+
- name: Checkout repository
20+
uses: actions/checkout@v4
21+
- name: Create secrets.yaml
22+
run: |
23+
cat <<'EOF' > secrets.yaml
24+
wifi_ssid: "hackme"
25+
wifi_password: "password1234"
26+
EOF
27+
- name: Build ${{ matrix.config }}
28+
uses: esphome/build-action@v6
29+
with:
30+
yaml-file: ${{ matrix.config }}

0 commit comments

Comments
 (0)