By default artifacts are packaged as tarballs and gzipped, which is why a downloaded artifact often ends in .tgz even when it was one plain file. Uploading raw is what archive: none gives you, and you have to ask for it. Zip is not used anywhere in the pipeline. And the packaging does not vary by whether the path is a file or a directory — the same default applies to both.
Official docs