Skip to content

Commit

Permalink
convertion to apk
Browse files Browse the repository at this point in the history
  • Loading branch information
Je-Joestar24 committed May 27, 2024
1 parent 06a70c9 commit a7560b5
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: CI
on:
push:
branches: [ main ]

jobs:
build:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v2

#used to cache dependencies with a timeout
- name: Get Date
id: get-date
run: |
echo "::set-output name=date::$(/bin/date -u "+%Y%m%d")"
shell: bash

- name: Cache Buildozer global directory
uses: actions/cache@v2
with:
path: .buildozer_global
key: buildozer-global-${{ hashFiles('buildozer.spec') }} # Replace with your path

- uses: actions/cache@v2
with:
path: .buildozer
key: ${{ runner.os }}-${{ steps.get-date.outputs.date }}-${{ hashFiles('buildozer.spec') }}

- name: Build with Buildozer
uses: ArtemSBulgakov/buildozer-action@v1
id: buildozer
with:
command: buildozer android debug
buildozer_version: stable

- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: package
path: ${{ steps.buildozer.outputs.filename }}

0 comments on commit a7560b5

Please sign in to comment.