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:
parent
0bc234e8d1
commit
5088e3d9fb
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue