Add renovate.json #1616
Workflow file for this run
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: Build Sample App | |
on: [push, pull_request] | |
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: Install NDK 21 | |
run: echo "y" | sudo /usr/local/lib/android/sdk/tools/bin/sdkmanager --install "ndk;21.0.6113669" "ndk;20.0.5594570" --sdk_root=${ANDROID_SDK_ROOT} | |
- name: Compute build cache | |
run: ./scripts/checksum-android.sh checksum-android.txt | |
- uses: actions/cache@v2 | |
with: | |
path: | | |
~/.gradle/caches/modules-* | |
~/.gradle/caches/jars-* | |
~/.gradle/caches/build-cache-* | |
key: gradle-${{ hashFiles('checksum-android.txt') }} | |
- name: Build sample apps with Gradle | |
run: ./gradlew :sample:assembleDebug :tutorial:assembleDebug | |
- name: Build remaining artifacts with Gradle | |
run: ./gradlew assembleDebug | |
- name: upload artifact | |
uses: actions/upload-artifact@v1 | |
with: | |
name: sample-app.apk | |
path: android/sample/build/outputs/apk/debug/sample-debug.apk |