From 0528d7cef650d1174153389839d08a3984feaaa8 Mon Sep 17 00:00:00 2001 From: manatlan Date: Mon, 13 Nov 2023 18:33:24 +0100 Subject: [PATCH] Update build2.yml --- .github/workflows/build2.yml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build2.yml b/.github/workflows/build2.yml index dba4efb..57bb4e6 100644 --- a/.github/workflows/build2.yml +++ b/.github/workflows/build2.yml @@ -21,6 +21,14 @@ jobs: git clone https://github.com/kivy/buildozer.git cd buildozer docker build --tag=mybuildozer . + cd .. + + - name: build the apk + run: | + cd app + mkdir .buildozer + docker run -v $(pwd)/.buildozer:/home/user/.buildozer -v $(pwd):/home/user/hostcwd mybuildozer android debug + mv bin/*.apk bin/app.apk # - name: Build with Buildozer # uses: ArtemSBulgakov/buildozer-action@v1 @@ -29,8 +37,8 @@ jobs: # workdir: ./app # buildozer_version: stable - # - name: Upload artifacts - # uses: actions/upload-artifact@v2 - # with: - # name: package - # path: ${{ steps.buildozer.outputs.filename }} + - name: Upload artifacts + uses: actions/upload-artifact@v2 + with: + name: package + path: bin/app.apk