CI: rework build workflow to have split target and subtarget directly