This commit is contained in:
Edward Firmo
2024-02-19 11:11:10 +01:00
parent e09a57688b
commit bb1c9343a4

View File

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