From 03b993a83c3225160922fefc96df5b580067179e Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Sun, 7 Apr 2024 19:43:35 +0200 Subject: [PATCH] add md5 files Adds to #2024 --- .github/workflows/validate_esphome.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/validate_esphome.yml b/.github/workflows/validate_esphome.yml index 4c2c12e..ce20365 100644 --- a/.github/workflows/validate_esphome.yml +++ b/.github/workflows/validate_esphome.yml @@ -212,6 +212,13 @@ jobs: cp prebuilt/.esphome/build/nspanel/.pioenvs/nspanel/firmware.bin prebuilt/nspanel_esphome_prebuilt.bin || true cp prebuilt/.esphome/build/nspanel/.pioenvs/nspanel/firmware-factory.bin prebuilt/nspanel_esphome_prebuilt-factory.bin || true + - name: Generate checksum + uses: jmgilman/actions-generate-checksum@v1 + with: + method: md5 + patterns: prebuilt/nspanel_esphome_prebuilt.bin + output: prebuilt/nspanel_esphome_prebuilt.bin.md5 + - name: Set Commit Message id: set_commit_message run: | @@ -229,6 +236,7 @@ jobs: git config --global user.name 'GitHub Actions' git config --global user.email 'actions@github.com' git add prebuilt/*.bin + git add prebuilt/*.md5 git commit -m "${{ env.COMMIT_MESSAGE }}" git push env: