okay, now I really fixed github actions for tenbit

This commit is contained in:
Sadek Baroudi 2023-03-25 13:55:29 -07:00
parent 54f623853a
commit a2be220f6c
2 changed files with 10 additions and 3 deletions

View File

@ -256,14 +256,22 @@ rename_file_from_build_string() {
if test -f "${hex_source_file}"; then
echo "${0}: Renaming file '${hex_source_file}' to '${hex_target_file}'"
mv "${hex_source_file}" "${hex_target_file}"
if [ "${hex_source_file}" = "${hex_target_file}" ]; then
echo "${0}: Skipping rename, since the file is already named appropriately"
else
mv "${hex_source_file}" "${hex_target_file}"
fi
else
echo "${0}: Could not find hex source file ${hex_source_file} to rename."
fi
if test -f "${uf2_source_file}"; then
echo "${0}: Renaming file '${uf2_source_file}' to '${uf2_target_file}'"
mv "${uf2_source_file}" "${uf2_target_file}"
if [ "${uf2_source_file}" = "${uf2_target_file}" ]; then
echo "${0}: Skipping rename, since the file is already named appropriately"
else
mv "${uf2_source_file}" "${uf2_target_file}"
fi
else
echo "${0}: Could not find uf2 source file ${uf2_source_file} to rename."
fi

View File

@ -16,7 +16,6 @@
#include "sadekbaroudi.h"
#include QMK_KEYBOARD_H
#include "muse.h"
// clang-format off
#define LAYOUT_ortho_5x12_base( \