2020-05-25 15:45:05 +00:00
|
|
|
name: Debug APK Builder
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- dev
|
2021-05-08 03:04:58 +00:00
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
2020-05-25 15:45:05 +00:00
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- dev
|
2021-05-08 03:04:58 +00:00
|
|
|
paths-ignore:
|
|
|
|
- '**.md'
|
2020-05-25 15:45:05 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: set up JDK 1.8
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
|
|
|
java-version: 1.8
|
|
|
|
|
|
|
|
- name: Grant rights
|
|
|
|
run: chmod +x ./gradlew
|
|
|
|
|
|
|
|
- name: Build project with Gradle
|
|
|
|
run: ./gradlew build
|
|
|
|
|
2020-08-03 09:54:59 +00:00
|
|
|
- name: Build Debug APK with Gradle
|
2020-05-25 15:45:05 +00:00
|
|
|
run: ./gradlew assembleDebug
|
|
|
|
|
2020-08-04 15:10:05 +00:00
|
|
|
- name: Upload Debug
|
2020-05-25 15:45:05 +00:00
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
2020-08-04 15:10:05 +00:00
|
|
|
name: 'Manager'
|
2020-08-26 19:25:01 +00:00
|
|
|
path: app/build/outputs/apk/debug/app-debug.apk
|