Skip to content

Commit

Permalink
Workflow updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jesserockz committed Jun 29, 2024
1 parent 13dc01c commit 1b0f281
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
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

0 comments on commit 1b0f281

Please sign in to comment.