Feat: Static Analysis & Lint Setup (#2208) #1134
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 Client CI | |
on: | |
push: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
# Set up JDK 17 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 17 | |
# Build with Gradle | |
- name: Build with Gradle | |
run: chmod +x gradlew && ./gradlew assembleDebug | |
# Upload APK | |
- name: Upload APK | |
uses: actions/upload-artifact@v2.2.0 | |
with: | |
# Artifact name | |
name: android-client-app | |
# File path describing what artifact to upload | |
path: mifosng-android/build/outputs/apk/debug/mifosng-android-debug.apk |