Skip to content

Commit 3e7433c

Browse files
committed
Fix screenshot workflows
1 parent ac031bc commit 3e7433c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/themes-screenshot-on-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
# For tests there is no real HW: use simulated LCD mode
4141
# Check if theme is for 5"
4242
orientation=$(grep 'DISPLAY_SIZE' $dir/theme.yaml | sed 's/ //g')
43-
if [ $orientation == "DISPLAY_SIZE:5\"" ]; then
43+
if [ "$orientation" == "DISPLAY_SIZE:5\"" ]; then
4444
sed -i "/REVISION:/c\ REVISION: SIMU5" config.yaml
4545
else
4646
sed -i "/REVISION:/c\ REVISION: SIMU" config.yaml

.github/workflows/themes-screenshot-on-push.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
# For tests there is no real HW: use simulated LCD mode
5555
# Check if theme is for 5"
5656
orientation=$(grep 'DISPLAY_SIZE' $dir/theme.yaml | sed 's/ //g')
57-
if [ $orientation == "DISPLAY_SIZE:5\"" ]; then
57+
if [ "$orientation" == "DISPLAY_SIZE:5\"" ]; then
5858
sed -i "/REVISION:/c\ REVISION: SIMU5" config.yaml
5959
else
6060
sed -i "/REVISION:/c\ REVISION: SIMU" config.yaml

0 commit comments

Comments
 (0)