1
0
Fork 0
mirror of https://github.com/ArtemSBulgakov/buildozer-action.git synced 2024-08-16 10:09:52 +02:00
gh-buildozer-action/README.md

47 lines
1.2 KiB
Markdown
Raw Normal View History

2020-06-23 13:57:51 +02:00
# Buildozer action
Build your Python/[Kivy](https://github.com/kivy/kivy) applications for Android
with [Buildozer](https://github.com/kivy/buildozer). This action uses official
Buildozer [Docker image](https://github.com/kivy/buildozer/blob/master/Dockerfile),
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.
2020-06-23 14:07:13 +02:00
## Outputs
### `filename`
Filename of built package relative to repository root.
- Example: `test_app/bin/testapp-0.1-armeabi-v7a-debug.apk`
2020-06-23 13:57:51 +02:00
## Example usage
```yaml
- name: Build with Buildozer
uses: ArtemSBulgakov/buildozer-action@v1
2020-06-23 14:07:13 +02:00
id: buildozer
with:
command: buildozer android debug
workir: src
2020-06-23 13:57:51 +02:00
```
## License
ArtemSBulgakov/buildozer-action is released under the terms of the
[MIT License](LICENSE).