From aae94b56c963419ef94c685c34847023e69788c1 Mon Sep 17 00:00:00 2001 From: Djuri Baars Date: Sun, 22 Oct 2023 17:56:32 +0200 Subject: [PATCH] Make sure UTC date is written --- .github/workflows/workflow.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 2af7635..f667b8d 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -39,14 +39,14 @@ jobs: - name: Create merged firmware binary run: mkdir -p output && esptool.py --chip esp32s3 merge_bin -o output/full-firmware.bin --flash_mode dio 0x0000 .pio/build/esp32wemos-s3-mini_BW/bootloader.bin 0x8000 .pio/build/esp32wemos-s3-mini_BW/partitions.bin 0xe000 ~/.platformio/packages/framework-arduinoespressif32/tools/partitions/boot_app0.bin 0x10000 .pio/build/esp32wemos-s3-mini_BW/firmware.bin 0x330000 .pio/build/esp32wemos-s3-mini_BW/spiffs.bin - - name: Create checksums - run: shasum -a 256 output/full-firmware.bin > output/full-firmware.sha256 + - name: Create checksum for merged binary + run: shasum -a 256 output/full-firmware.bin | awk '{print $1}' > output/full-firmware.sha256 - name: Write commit hash to file run: echo $GITHUB_SHA > output/commit.txt - name: Write build date to file - run: echo "$(date +'%Y-%m-%dT%H:%M:%S')" > output/date.txt + run: echo "$(date -u +'%Y-%m-%dT%H:%M:%SZ')" > output/date.txt - name: Upload artifacts uses: actions/upload-artifact@v3