updated 08/20/2012 AT 4:10 PM ET
•originally published 08/20/2012 AT 4:35 PM ET
It wasn’t quite a summer of love for Hilary Swank.
A rep for the actress exclusively confirms to PEOPLE that she and boyfriend John Campisi have ended their five-year relationship. The pair split in May.
The Oscar winner, who has spent the majority of the summer filming Mary & Martha with Brenda Blethyn in South Africa and Wilmington, N.C., and Campisi began dating in 2007.
In 2010, Swank spoke to InStyle about the possibility of getting married again, after her split with ex-husband Chad Lowe.
“Friends of mine and I talk about this. Does someone come into your life for a certain time, and then you are supposed to go your separate ways?” she asked at the time. “There’s a part of me that thinks that’s true.”