dfu-suffix (from dfu-util) needed to finish the .bin raise -maxdepth to 2 so the binary is found whether it ends up in .build/ or not
This commit is contained in:
1 parent
bcdadb104d
commit
e60ff43914
1 file changed
+2
-2
@@ -19,7 +19,7 @@ jobs:
|
||||
- name: Install toolchain and QMK CLI
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends git make curl jq python3-pip pipx \
|
||||
apt-get install -y --no-install-recommends git make curl jq dfu-util python3-pip pipx \
|
||||
gcc-arm-none-eabi binutils-arm-none-eabi libnewlib-arm-none-eabi
|
||||
pipx install qmk
|
||||
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
|
||||
@@ -34,7 +34,7 @@ jobs:
|
||||
rm -f "$GITHUB_WORKSPACE"/*.bin
|
||||
qmk config user.qmk_home="$QMK_HOME" user.overlay_dir="$GITHUB_WORKSPACE"
|
||||
qmk compile -kb "$KEYBOARD" -km "$KEYMAP"
|
||||
BIN=$(find "$QMK_HOME" "$GITHUB_WORKSPACE" -maxdepth 1 -name '*_mindfulminun.bin' | head -n1)
|
||||
BIN=$(find "$QMK_HOME" "$GITHUB_WORKSPACE" -maxdepth 2 -name '*_mindfulminun.bin' | head -n1)
|
||||
test -n "$BIN"
|
||||
cp "$BIN" "$RUNNER_TEMP/firmware.bin"
|
||||
echo "BIN_NAME=$(basename "$BIN")" >> "$GITHUB_ENV"
|
||||
|
||||
Reference in new issue
Block a user