What is the preferable way to share data?
The most common and sustainable thing to do is to deposit the data in a research data repository. Depending on which one you choose, the data will get a persistent identifier, e.g. a DOI, can be cited properly in publications, might be reused by other researchers, ...

You can find a list of available data repositories at re3data, the registry of research data repositories. The number of repositories is still growing. Even your institution/university might offer an institutional data repository.