abarichello / godot-ci

Docker image to export Godot Engine games. Templates for Gitlab CI and GitHub Actions to deploy to GitLab Pages/GitHub Pages/Itch.io.
https://hub.docker.com/r/barichello/godot-ci
MIT License
759 stars 133 forks source link

iOS and Android export #45

Open mars3142 opened 3 years ago

mars3142 commented 3 years ago

Is it possible to create iOS and/or Android builds with this action? I want to deploy my test builds to Firebase App Distribution and/or Testflight/Google Play Beta Testing.

Calinou commented 3 years ago

Android support was added in https://github.com/aBARICHELLO/godot-ci/pull/34, but it's only in GitLab CI so far.

mars3142 commented 3 years ago

@Calinou Is the Android exporter able to create AAB files or only full APKs? I do also ask, because for AAB format we don't need the expansion files anymore.

Calinou commented 3 years ago

@mars3142 The Android exporter can create both. If you use the old workflow, you'll be exporting full APKs. If you use the new custom build workflow, you can export APKs or AABs.

I'm not sure if APK expansion files are still supported in the old workflow.

That said, I'm not sure if the headless exporter is able to export to Android using the new custom build workflow.

Crystalwarrior commented 2 years ago

any updates on github build android support?

myin142 commented 2 years ago

GitHub build should also work, they are just not documented I think. All the necessary dependencies and settings should already be set in the Dockerfile. I am currently trying it out. I still have some problems but they seem to be on my side.

Edit: I thinks it works now if anyone wants a reference: https://github.com/sakkaku-dev/godot-template/blob/master/.github/workflows/release.yml

lfkdev commented 2 years ago

Would be awesome if we could add the android-export to the github yaml template aswell

realkotob commented 1 year ago

@myin142 @lfkdev This sounds good, you can make a Pull Request with the changes if you'd like.