mirror of
https://github.com/ArtemSBulgakov/buildozer-action.git
synced 2024-08-16 10:09:52 +02:00
Add full workflow example with artifacts
This commit is contained in:
parent
d1bccff610
commit
9d39eabe4d
1 changed files with 32 additions and 0 deletions
32
README.md
32
README.md
|
@ -209,6 +209,38 @@ jobs:
|
||||||
run: python master/.ci/move_binary.py "${{ steps.buildozer.outputs.filename }}" master data
|
run: python master/.ci/move_binary.py "${{ steps.buildozer.outputs.filename }}" master data
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary>Full workflow with uploading binaries as artifact</summary>
|
||||||
|
|
||||||
|
```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 }}
|
||||||
|
```
|
||||||
|
</details>
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
You can [search GitHub](https://github.com/search?q=buildozer-action+extension%3Ayml+path%3A.github%2Fworkflows&type=Code)
|
You can [search GitHub](https://github.com/search?q=buildozer-action+extension%3Ayml+path%3A.github%2Fworkflows&type=Code)
|
||||||
|
|
Loading…
Reference in a new issue