Update workflow keymap test for settings_reset

This commit is contained in:
Manna Harbour 2022-09-21 10:58:52 +10:00
parent f91a3dc81d
commit 2dec2451a1

View File

@ -256,7 +256,7 @@ jobs:
echo '::error::Keymap found but shield not found. Board used for shield.'
(exit "$EX_DATAERR")
fi
if ! grep -q 'Using keymap file: .*/config/[^/]*.keymap$' "$log"
if grep -q 'Using keymap file: .*/boards/' "$log" && ! grep -q 'Using keymap file: .*/settings_reset.keymap' "$log"
then
echo '::error::Miryoku keyboard keymap not found. Unsupported or incorrect keyboard.'
(exit "$EX_UNAVAILABLE")