39 lines
726 B
YAML
39 lines
726 B
YAML
name: Build APK
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
paths-ignore:
|
|
- '**.md'
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
paths-ignore:
|
|
- '**.md'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: Set up JDK 11
|
|
uses: actions/setup-java@v2
|
|
with:
|
|
java-version: 11
|
|
distribution: 'zulu'
|
|
cache: 'gradle'
|
|
|
|
- name: chmod gradlew
|
|
run: chmod +x gradlew
|
|
|
|
- name: Build the APK
|
|
run: ./gradlew assembleDebug
|
|
|
|
- name: Upload the APK
|
|
uses: actions/upload-artifact@v2
|
|
with:
|
|
name: mauth
|
|
path: app/build/outputs/apk/debug/app-debug.apk |