This repository has been archived by the owner on Jul 7, 2024. It is now read-only.
(refactor) Separate out installation steps #119
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 APK | |
on: | |
push: | |
branches: | |
- '*' | |
paths-ignore: | |
- '**.md' | |
- '.idea/*' | |
- 'LICENSE' | |
pull_request: | |
branches: | |
- '*' | |
paths-ignore: | |
- '**.md' | |
- '.idea/*' | |
- 'LICENSE' | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: 17 | |
distribution: 'temurin' | |
cache: 'gradle' | |
- name: Setup Android SDK | |
uses: android-actions/[email protected] | |
- name: Build APK | |
run: chmod +x ./gradlew && ./gradlew assembleDebug | |
- name: Upload APK | |
uses: actions/upload-artifact@v2 | |
with: | |
name: manager-debug | |
path: app/build/outputs/apk/debug/app-debug.apk |