mirror of
https://github.com/ArtemSBulgakov/buildozer-action.git
synced 2024-08-16 10:09:52 +02:00
Add full workflow example
This commit is contained in:
parent
266fe17782
commit
3b615fb0c2
1 changed files with 30 additions and 0 deletions
30
README.md
30
README.md
|
@ -90,6 +90,36 @@ Example:
|
||||||
buildozer_version: stable
|
buildozer_version: stable
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Full workflow
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
name: Build
|
||||||
|
on: [push, pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
# Build job. Builds app for Android with Buildozer
|
||||||
|
build-android:
|
||||||
|
name: Build for Android
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Build with Buildozer
|
||||||
|
uses: ArtemSBulgakov/buildozer-action@v1
|
||||||
|
id: buildozer
|
||||||
|
with:
|
||||||
|
workdir: test_app
|
||||||
|
buildozer_version: stable
|
||||||
|
|
||||||
|
- name: Upload artifacts
|
||||||
|
uses: actions/upload-artifact@v2
|
||||||
|
with:
|
||||||
|
name: package
|
||||||
|
path: ${{ steps.buildozer.outputs.filename }}
|
||||||
|
```
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
ArtemSBulgakov/buildozer-action is released under the terms of the
|
ArtemSBulgakov/buildozer-action is released under the terms of the
|
||||||
|
|
Loading…
Reference in a new issue