Do I need to report the sale of a second home in NC that I owned w/ my now ex-spouse? I was on the mortgage w/ him (paid off at closing) and am filing separately.

Home sold in 2020 and spouse paid all mortgage principal, interest and insurance.