-
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
As a user who builds esphome using build parameters.
I need the ability to provide those build parameters to the GitHub actions.
Example
Production boards are built using different pin assignments than the development boards.
esphome \
-s name foobar \
-s rfid1_miso_pin "GPIO37" \
-s rfid1_clk_pin "GPIO36" \
-s rfid1_mosi_pin "GPIO35" \
-s rfid1_ss_pin "GPIO34" \
-s rfid1_spi_interface "spi2" \
compile config.yamlDesired outcome
- name: Build ESPHome firmware
uses: esphome/[email protected]
with:
yaml-file: firmware/config.yaml
complete-manifest: true
build_parameters: # <------- add build parameters
- name: foobar
- rfid1_miso_pin: GPIO37
- rfid1_clk_pin: GPIO36
- rfid1_mosi_pin: GPIO35
- rfid1_ss_pin: GPIO34Metadata
Metadata
Assignees
Labels
No labels