Go to file
dependabot[bot] 45ef62c08d
Bump docker/setup-buildx-action from 3.0.0 to 3.3.0 (#31)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-07 10:39:29 +02:00
.github chore: Adding dependabot and manually updating actions dependencies (#22) 2024-02-20 15:38:36 +13:00
.gitignore Initial commit 2021-11-18 22:38:28 +13:00
Dockerfile Add build caching (#24) 2024-02-29 13:25:06 +13:00
LICENSE Create LICENSE 2021-11-18 22:52:33 +13:00
README.md Add build caching (#24) 2024-02-29 13:25:06 +13:00
action.yml Bump docker/setup-buildx-action from 3.0.0 to 3.3.0 (#31) 2024-05-07 10:39:29 +02:00
entrypoint.py Add build caching (#24) 2024-02-29 13:25:06 +13:00

README.md

ESPHome Build action

GitHub release (latest SemVer)

This action takes a yaml file for an ESPHome device and will compile and output the build firmware file and a partial manifest.json file that can be used to flash a device via ESP Web Tools.

Example usage


uses: esphome/build-action@v1
with:
  yaml_file: my_configuration.yaml

This action is used by the ESPHome publish workflow that is used to compile firmware and publish simple GitHub pages sites for projects.

Inputs

Name Default Description
yaml_file None The YAML file to be compiled.
version latest The ESPHome version to build using.
platform linux/amd64 The docker platform to use during build. (linux/amd64, linux/arm64, linux/arm/v7)
cache false Whether to cache the build folder.

Outputs

Name Description
name The name of the device in yaml with the platform (eg. ESP32 or ESP8266) appended.
version The ESPHome version used during build.

Output files

This action will output a folder named with the output name and will contain two files, {name}.bin and manifest.json.