Both can be technically correct. Anyway is a common adverb used to mean “in any case,” Anyways is the informal form of anyway. While less common in formal writing, anyways abounds in everyday speech or dialogue.