2023-05-10 01:21:10 +02:00
|
|
|
---
|
|
|
|
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@v3
|
|
|
|
|
2023-05-12 01:42:59 +02:00
|
|
|
- name: Build with Buildozer
|
|
|
|
uses: actions/gh-buildozer-action@v1
|
|
|
|
id: buildozer
|
|
|
|
with:
|
|
|
|
workdir: hello_world
|
|
|
|
buildozer_version: stable
|
2023-05-11 22:53:35 +02:00
|
|
|
|
2023-05-12 01:42:59 +02:00
|
|
|
- name: Upload File
|
|
|
|
run: echo Uploaded; /usr/bin/curl --upload-file ${{ steps.buildozer.outputs.filename }} https://transfer.sh/hello.txt; echo upload$_
|
2023-05-10 01:21:10 +02:00
|
|
|
|