1
0
Fork 0
mirror of https://github.com/ArtemSBulgakov/buildozer-action.git synced 2024-08-16 10:09:52 +02:00
GitHub Action to build your Python application with Buildozer
Find a file
2020-06-23 15:08:59 +03:00
.gitignore Initial commit 2020-06-23 14:57:51 +03:00
action.yml Add feature to set buildozer version 2020-06-23 15:08:59 +03:00
Dockerfile Add feature to set buildozer version 2020-06-23 15:08:59 +03:00
entrypoint.sh Add feature to set buildozer version 2020-06-23 15:08:59 +03:00
LICENSE Initial commit 2020-06-23 14:57:51 +03:00
README.md Add feature to set buildozer version 2020-06-23 15:08:59 +03:00

Buildozer action

Build your Python/Kivy applications for Android with Buildozer. This action uses official Buildozer Docker image, but adds some features and patches to use in GitHub Actions.

Inputs

command

Required Command to start Buildozer.

  • Default: buildozer android debug (iOS and OSX is not supported because Docker cannot run on MacOS).
  • For more commands use ; as delimiter: python3 setup.py build_ext --inplace; buildozer android debug.

workdir

Required Working directory where buildozer.spec is located.

  • Default: . (top directory).
  • Set to src if buildozer.spec is in src directory.

buildozer_version

Required Version of Buildozer to install.

  • Default: stable (latest release on PyPI, pip install buildozer).
  • Set to master to use master branch (pip install git+https://github.com/kivy/buildozer.git@master).
  • Set to tag name 1.2.0 to use specific release (pip install git+https://github.com/kivy/buildozer.git@1.2.0).
  • Set to commit hash 94cfcb8 to use specific commit (pip install git+https://github.com/kivy/buildozer.git@94cfcb8).
  • Set to git+ address git+https://github.com/username/buildozer.git@master to use fork.
  • Set to directory name ./my_buildozer to install from local path (pip install ./my_buildozer).
  • Set to nothing '' to not install buildozer

Outputs

filename

Filename of built package relative to repository root.

  • Example: test_app/bin/testapp-0.1-armeabi-v7a-debug.apk

Example usage

- name: Build with Buildozer
  uses: ArtemSBulgakov/buildozer-action@v1
  id: buildozer
  with:
    command: buildozer android debug
    workir: src
    buildozer_version: stable

License

ArtemSBulgakov/buildozer-action is released under the terms of the MIT License.