Gregory played virtually his entire career with Warrington and won 20 caps for his country , the most memorable of them in the third Test in Sydney in 1988 when his long-range try clinched the first British victory over Australia in a decade .