Skip to content
This repository has been archived by the owner on Apr 10, 2024. It is now read-only.

Commit

Permalink
Aperture: Detect uncommitted changes after running app:generateBp
Browse files Browse the repository at this point in the history
This will make sure that we ran app:generateBp before merging changes.

Change-Id: Ia2b0720ea123f74cb4f1c92854131e000a2bd746
  • Loading branch information
luk1337 committed Sep 11, 2023
1 parent 9945a5d commit 5cd5058
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,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
Expand Down

0 comments on commit 5cd5058

Please sign in to comment.