Merge pull request #8 from FoamyGuy/main #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build debug app APK | |
on: | |
push: | |
branches: | |
- '**' | |
pull_request: | |
- main | |
jobs: | |
apk-debug: | |
name: Generate debug APK | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v3 | |
with: | |
java-version: 17 | |
distribution: 'adopt' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
- name: Build APK | |
run: ./gradlew assembleDebug --stacktrace | |
- name: Upload APK | |
uses: actions/upload-artifact@v4 | |
with: | |
name: PyLeap debug APK | |
path: app/build/outputs/apk/debug/*.apk | |