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
@@ -28,10 +28,14 @@ jobs:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- 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, sign, and publish with Gradle
env:
KEY_STORE_PASS: ${{ secrets.KEY_STORE_PASS }}