name: Debug Build for PR
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: set up JDK 11
uses: actions/setup-java@v2
with:
distribution: 'temurin'
java-version: 11
cache: 'gradle'
- name: Download dependencies
run: ./gradlew androidDependencies
- name: Build debug
run: ./gradlew assembleDebug
- name: Upload APK
uses: actions/upload-artifact@v1
with:
name: apk
path: ActivityLauncherApp/build/outputs/apk/debug/ActivityLauncherApp-debug.apk
deploy:
needs: build
runs-on: ubuntu-latest
steps:
- name: 'Download artifact'
uses: actions/download-artifact@v2
with:
name: apk
path: ${{ runner.temp }}
They seem to like complaining in reviews
What do they say?
and I'm not a fan of Java :P
Saw there is a kotlin version ;)