2020-07-20 17:11:15 +00:00
|
|
|
name: Debug APK Builder
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
pull_request:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v1
|
|
|
|
- name: JDK 8 Setup
|
|
|
|
uses: actions/setup-java@v1
|
|
|
|
with:
|
2021-09-11 07:36:50 +00:00
|
|
|
java-version: 11.0.8
|
2020-07-20 17:11:15 +00:00
|
|
|
|
2020-07-21 10:05:05 +00:00
|
|
|
- name: Install NDK
|
|
|
|
run: echo "y" | sudo ${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;21.0.6113669"
|
|
|
|
|
2020-07-20 17:11:15 +00:00
|
|
|
- name: Grant rights
|
|
|
|
run: chmod +x ./gradlew
|
|
|
|
|
|
|
|
- name: Build project
|
|
|
|
run: ./gradlew build
|
|
|
|
|
|
|
|
- name: Build APK
|
|
|
|
run: ./gradlew assembleDebug
|
|
|
|
|
|
|
|
- name: Upload to Artifacts
|
|
|
|
uses: actions/upload-artifact@v2
|
|
|
|
with:
|
|
|
|
name: 'MicroG'
|
|
|
|
path: play-services-core/build/outputs/apk/debug/play-services-core-debug.apk
|