add: v2.0.0 base #156
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: Android Workflow | |
on: [push, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set Up JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'zulu' | |
java-version: '17' | |
cache: 'gradle' | |
- name: Build APK | |
run: cd android && ./gradlew assembleDebug | |
- name: Upload APK | |
uses: actions/upload-artifact@v3 | |
with: | |
name: debug-apk | |
path: android/app/build/outputs/apk/debug/app-debug.apk |