This repository has been archived by the owner on Apr 10, 2024. It is now read-only.
Aperture: Update CameraX maven repo URL #25
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 | |
on: [push, pull_request, workflow_dispatch] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v1 | |
- name: Setup JDK 11 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11 | |
- name: Build with Gradle | |
run: ./gradlew assembleDebug | |
- name: Generate Android.bp | |
run: | | |
./gradlew app:generateBp | |
if [[ ! -z $(git status -s) ]]; then | |
git status | |
exit -1 | |
fi | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: app-debug.apk | |
path: app/build/outputs/apk/debug/app-debug.apk |