fixed github workflow build such that firmware is too large doesn't generate an error, but everything else does

This commit is contained in:
Sadek Baroudi 2022-10-31 13:21:22 -07:00
parent 8d1ee3d8be
commit bcf042fc8d
1 changed files with 4 additions and 2 deletions

View File

@ -238,9 +238,11 @@ process_build_string() {
if [[ "${run_build}" == "yes" ]]; then
echo "fp_build.sh: Running QMK Build...."
echo ""
eval "${build_string}"
build_run_output=`${build_string}`
build_run_status=$?
if [[ $build_run_status -ne 0 ]]; then
echo "output: ${build_run_output}"
echo "exit status: ${build_run_status}"
if [[ $build_run_status -ne 0 && "${build_run_output}" != *"The firmware is too large"* ]]; then
echo "${0} build run failed with status ${build_run_status}"
exit $build_run_status
fi