How can I download only a folder or directory and do a compression before from a remote Git repo hosted on GitHub? The problem is the folder has some executables *.exe in it, and I have to zip (protect) it before going through the firewall.
How can I download only a folder or directory and do a compression before from a remote Git repo hosted on GitHub? The problem is the folder has some executables *.exe in it, and I have to zip (protect) it before going through the firewall.
You can associate to that repository (assuming you are the owner, if not, fork it) a GitHub Action.
That GitHub Action can do a sparse checkout of just the folder you want.
The same GitHub action workflow script can then compress the folder and upload it as an artifact.
A curl call can then download that zip file.