Publish outsystems project on github

Guys, I need your help, a company from Portugal asked me to develop a web system and then publish on github, but now I have a question, can I download the generated code to publish in the repository? Or do I have to publish the closed file? Has anyone there done this before? how to proceed

The generated code is not for the eyes of the mortals.

You can have it when you leave OS so you can maintain the apps you developed (no lock-in policy) but not before.

Are you sure you need GitHub? OutSystems has its own version control system so you don't need GitHub for that. Also, there is Forge for shared projects so the other reason for using GitHub is gone.

That company needs to adapt its procedures for this new paradigm.

Still, the answer is yes. I've never done it, but here is an official confirmation.