Add support for passing in APKS files externally #373
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- 'main' | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
verify: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest] | |
android-gradle-plugin: [7.0.4, 7.1.3, 7.2.2, 7.3.0, 7.4.2] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup JDK | |
uses: actions/setup-java@v3 | |
with: | |
distribution: adopt | |
java-version: 11 | |
cache: gradle | |
- name: Publish plugin to local Maven repository | |
run: ./gradlew publishToMavenLocal -PwithoutSample --no-daemon --stacktrace | |
- name: Run checks | |
env: | |
ANDROID_GRADLE_PLUGIN_VERSION: ${{ matrix.android-gradle-plugin }} | |
run: ./gradlew check --no-daemon --stacktrace "-Dorg.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=2048m" | |
- name: Archive sample HTML report | |
uses: actions/upload-artifact@v2 | |
with: | |
name: report | |
path: sample/app/build/reports/ruler/release/report.html | |
retention-days: 7 |