Try to fail with missing assets (#4449)

This commit is contained in:
yueh
2020-07-03 20:31:41 +02:00
committed by GitHub
parent 4b3a232add
commit bd1d9701a9
4 changed files with 16 additions and 1 deletions
+4
View File
@@ -21,10 +21,14 @@ jobs:
with:
path: ~/.gradle/caches
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle') }}
- name: Validate no assets
run: test ! -d ./src/generated
- name: Generate assets
uses: GabrielBB/xvfb-action@v1.2
with:
run: ./gradlew runData --no-daemon
- name: Validate assets
run: test -d ./src/generated
- name: Build with Gradle
env:
PR_NUMBER: ${{ github.event.pull_request.number }}