Skip to content

Update plugin com.android.library to v8.1.2 #309

Update plugin com.android.library to v8.1.2

Update plugin com.android.library to v8.1.2 #309

Workflow file for this run

name: Android CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
Build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
cache: gradle
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: Make gradle wrapper executable
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
Automation:
needs: Build
runs-on: macOS-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: set up JDK 15
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
cache: gradle
- uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*', '**/gradle-wrapper.properties') }}
restore-keys: |
${{ runner.os }}-gradle-
- name: run tests
uses: reactivecircus/android-emulator-runner@v2
with:
api-level: 28
ram-size: 2048M
script: ./gradlew app:connectedCheck