Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow updates #15

Merged
merged 1 commit into from
Jun 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ jobs:
- project-template-esp8266.yaml
steps:
- name: Checkout source code
uses: actions/checkout@v2
uses: actions/checkout@v4.1.7
- name: Build ESPHome firmware to verify configuration
uses: esphome/build-action@v1.5.0
uses: esphome/build-action@v3.1.0
with:
yaml_file: ${{ matrix.file }}
14 changes: 6 additions & 8 deletions project-template-esp32.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
# These substitutions allow the end user to override certain values
substitutions:
name: "project-template"

esphome:
name: "${name}"
name: project-template
friendly_name: Project Template
# Automatically add the mac address to the name
# so you can use a single firmware for all devices
name_add_mac_suffix: true

# This will allow for (future) project identification,
# This will allow for project identification,
# configuration and updates.
project:
name: esphome.project-template
Expand All @@ -17,7 +14,7 @@ esphome:
esp32:
board: esp32dev
framework:
type: arduino
type: esp-idf

# To be able to get logs from the device via serial and api.
logger:
Expand All @@ -27,6 +24,7 @@ api:

# OTA is required for Over-the-Air updating
ota:
- platform: esphome

# This should point to the public location of this yaml file.
dashboard_import:
Expand All @@ -43,7 +41,7 @@ captive_portal:

##########################################################
# Most projects should not remove anything from above here
# and should just modify the name, project name/version
# and should just modify the name, project name/version
# and git url for the dashboard_import
##########################################################

Expand Down
10 changes: 4 additions & 6 deletions project-template-esp8266.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# These substitutions allow the end user to override certain values
substitutions:
name: "project-template"

esphome:
name: "${name}"
name: project-template
friendly_name: Project Template
# Automatically add the mac address to the name
# so you can use a single firmware for all devices
name_add_mac_suffix: true
Expand All @@ -25,6 +22,7 @@ api:

# OTA is required for Over-the-Air updating
ota:
- platform: esphome

# This should point to the public location of this yaml file.
dashboard_import:
Expand All @@ -42,7 +40,7 @@ captive_portal:

##########################################################
# Most projects should not remove anything from above here
# and should just modify the name, project name/version
# and should just modify the name, project name/version
# and git url for the dashboard_import
##########################################################

Expand Down