Skip to content

Commit 60971e4

Browse files
committed
update
1 parent 09b84cc commit 60971e4

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

.github/workflows/LVGL-MicroPython.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,14 +40,13 @@ jobs:
4040
- name: Compile the firmware
4141
id: compile
4242
run: |
43-
echo "COMPILE_DATE=$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV
4443
cd ${{env.LVGL}}
4544
if [${{fromJSON(matrix.info).INDEV}} == ""]; then
4645
python3 make.py esp32 BOARD=${{fromJSON(matrix.info).BOARD}} BOARD_VARIANT=${{fromJSON(matrix.info).BOARD_VARIANT}} --flash-size=${{fromJSON(matrix.info).FLASH}} DISPLAY=${{fromJSON(matrix.info).DISPLAY}}
47-
echo "FIREMWARE=LVGL-${{fromJSON(matrix.info).BOARD}}_${{fromJSON(matrix.info).BOARD_VARIANT}}_N${{fromJSON(matrix.info).FLASH}}_${{fromJSON(matrix.info).DISPLAY}}-${{env.LVGL_VERSION}}-${{env.COMPILE_DATE}}.bin" >> $GITHUB_ENV
46+
echo "FIREMWARE=LVGL-${{fromJSON(matrix.info).BOARD}}_${{fromJSON(matrix.info).BOARD_VARIANT}}_N${{fromJSON(matrix.info).FLASH}}_${{fromJSON(matrix.info).DISPLAY}}-${{env.LVGL_VERSION}}-$(date +"%Y%m%d%H%M").bin" >> $GITHUB_ENV
4847
else
4948
python3 make.py esp32 BOARD=${{fromJSON(matrix.info).BOARD}} BOARD_VARIANT=${{fromJSON(matrix.info).BOARD_VARIANT}} --flash-size=${{fromJSON(matrix.info).FLASH}} DISPLAY=${{fromJSON(matrix.info).DISPLAY}} INDEV=${{fromJSON(matrix.info).INDEV}}
50-
echo "FIREMWARE=LVGL-${{fromJSON(matrix.info).BOARD}}_${{fromJSON(matrix.info).BOARD_VARIANT}}_N${{fromJSON(matrix.info).FLASH}}_${{fromJSON(matrix.info).DISPLAY}}_${{fromJSON(matrix.info).INDEV}}-${{env.LVGL_VERSION}}-${{env.COMPILE_DATE}}.bin" >> $GITHUB_ENV
49+
echo "FIREMWARE=LVGL-${{fromJSON(matrix.info).BOARD}}_${{fromJSON(matrix.info).BOARD_VARIANT}}_N${{fromJSON(matrix.info).FLASH}}_${{fromJSON(matrix.info).DISPLAY}}_${{fromJSON(matrix.info).INDEV}}-${{env.LVGL_VERSION}}-$(date +"%Y%m%d%H%M").bin" >> $GITHUB_ENV
5150
fi
5251
echo "OUTPUT=${{env.LVGL}}/build" >> $GITHUB_ENV
5352
echo "FIREMWARE_ORIGIN=lvgl_micropy_${{fromJSON(matrix.info).BOARD}}-${{fromJSON(matrix.info).BOARD_VARIANT}}-${{fromJSON(matrix.info).FLASH}}_FLASH.bin" >> $GITHUB_ENV

.github/workflows/MicroPython.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ jobs:
6868
- name: Compile the firmware
6969
id: compile
7070
run: |
71-
echo "COMPILE_DATE=$(date +"%Y%m%d%H%M")" >> $GITHUB_ENV
7271
source ${{env.ESPIDF}}/export.sh
7372
cd ${{env.MICROPYTHON}}
7473
make -C mpy-cross
@@ -78,7 +77,7 @@ jobs:
7877
echo "status=success" >> $GITHUB_OUTPUT
7978
echo "OUTPUT=${{env.MICROPYTHON}}/ports/esp32/build-${{fromJSON(matrix.info).BOARD}}-${{fromJSON(matrix.info).BOARD_VARIANT}}" >> $GITHUB_ENV
8079
echo "FIREMWARE_ORIGIN=firmware.bin" >> $GITHUB_ENV
81-
echo "FIREMWARE=MicroPython-${{fromJSON(matrix.info).BOARD}}_${{fromJSON(matrix.info).BOARD_VARIANT}}_N${{fromJSON(matrix.info).FLASH}}-${{env.MICROPYTHON_VERSION}}-${{env.COMPILE_DATE}}.bin" >> $GITHUB_ENV
80+
echo "FIREMWARE=MicroPython-${{fromJSON(matrix.info).BOARD}}_${{fromJSON(matrix.info).BOARD_VARIANT}}_N${{fromJSON(matrix.info).FLASH}}-${{env.MICROPYTHON_VERSION}}-$(date +"%Y%m%d%H%M").bin" >> $GITHUB_ENV
8281
8382
- name: Organize compiled firmware
8483
id: firmware

0 commit comments

Comments
 (0)