create workflow

This commit is contained in:
OMGeeky
2023-03-03 10:35:51 +01:00
parent 2df930419a
commit c1e5d4e952

30
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,30 @@
name: build
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
# Build job. Builds app for Android with Buildozer test
build:
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: .
buildozer_version: stable
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: package
path: ${{ steps.buildozer.outputs.filename }}