diff --git a/.github/workflows/validate_esphome.yml b/.github/workflows/validate_esphome.yml index 4582925..6aa95f4 100644 --- a/.github/workflows/validate_esphome.yml +++ b/.github/workflows/validate_esphome.yml @@ -188,17 +188,18 @@ jobs: - uses: actions/checkout@v4.1.0 with: fetch-depth: '0' - + - name: Build ESPHome Prebuilt Firmware uses: barndawgie/build-action@v1.9.0 with: yaml_file: prebuilt/nspanel_esphome_prebuilt.yaml version: latest - + - name: Move and Rename Firmware File run: | - mv *.bin prebuilt/ - + mkdir -p prebuilt + find . -name '*.bin' -exec mv {} prebuilt/ \; + - name: Commit and Push Firmware File run: | git config --global user.name 'GitHub Actions'