was makingThe を marks what was being made, and 作っていた expresses an ongoing action in the past. Depending on context, it can also mean “was creating,” “was building,” or “was forming.”
JA: 子どもたちは段ボールで秘密基地を作っていた。
EN: The children were making a secret hideout out of cardboard.