Skip to content

Commit 1dd5d89

Browse files
committed
update LVGL_MicroPython
1 parent 0dacceb commit 1dd5d89

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/LVGL_MicroPython.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
env:
77
LVGL: lvgl_micropython
88
LVGL_REPO: https://github.com/lvgl-micropython/lvgl_micropython.git
9-
LVGL_VERSION: v9.1.0
109
TZ: Asia/Shanghai
1110

1211
jobs:
@@ -49,7 +48,7 @@ jobs:
4948
echo "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}}"
5049
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}}
5150
fi
52-
echo "FIREMWARE=LVGL_MicroPython-${{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
51+
echo "FIREMWARE=LVGL_MicroPython-${{fromJSON(matrix.info).BOARD}}_${{fromJSON(matrix.info).BOARD_VARIANT}}_N${{fromJSON(matrix.info).FLASH}}_${{fromJSON(matrix.info).DISPLAY}}-$(date +"%Y%m%d%H%M").bin" >> $GITHUB_ENV
5352
else
5453
if ["${{fromJSON(matrix.info).FLASH}}" == "4"]; then
5554
echo "python3 make.py esp32 BOARD=${{fromJSON(matrix.info).BOARD}} BOARD_VARIANT=${{fromJSON(matrix.info).BOARD_VARIANT}} --flash-size=${{fromJSON(matrix.info).FLASH}} --optimize-size DISPLAY=${{fromJSON(matrix.info).DISPLAY}} INDEV=${{fromJSON(matrix.info).INDEV}}"
@@ -58,7 +57,7 @@ jobs:
5857
echo "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}}"
5958
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}}
6059
fi
61-
echo "FIREMWARE=LVGL_MicroPython-${{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
60+
echo "FIREMWARE=LVGL_MicroPython-${{fromJSON(matrix.info).BOARD}}_${{fromJSON(matrix.info).BOARD_VARIANT}}_N${{fromJSON(matrix.info).FLASH}}_${{fromJSON(matrix.info).DISPLAY}}_${{fromJSON(matrix.info).INDEV}}-$(date +"%Y%m%d%H%M").bin" >> $GITHUB_ENV
6261
fi
6362
echo "OUTPUT=${{env.LVGL}}/build" >> $GITHUB_ENV
6463
echo "FIREMWARE_ORIGIN=lvgl_micropy_${{fromJSON(matrix.info).BOARD}}-${{fromJSON(matrix.info).BOARD_VARIANT}}-${{fromJSON(matrix.info).FLASH}}.bin" >> $GITHUB_ENV
@@ -76,7 +75,7 @@ jobs:
7675
repo_token: ${{secrets.GITHUB_TOKEN}}
7776
file: ${{env.OUTPUT}}/${{env.FIREMWARE}}
7877
asset_name: ${{env.FIREMWARE}}
79-
tag: LVGL_MicroPython-${{env.LVGL_VERSION}}
78+
tag: LVGL_MicroPython
8079
body: |
8180
### LVGL & MicroPython Firmware For ESP32
8281
[LVGL_MicroPython](https://github.com/lvgl-micropython/lvgl_micropython)

0 commit comments

Comments
 (0)