Glimpse: Detect uncommitted changes after running app:generateBp

This will make sure that we ran app:generateBp before merging changes.

Change-Id: Ia2b0720ea123f74cb4f1c92854131e000a2bd746
This commit is contained in:
LuK1337 2023-09-11 16:46:01 +02:00 committed by luk1337
parent 0bc234e8d1
commit 5088e3d9fb
1 changed files with 8 additions and 0 deletions

View File

@ -19,6 +19,14 @@ jobs:
- 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