Use debug signingConfig if retro.properties doesn't exist

This commit is contained in:
Goooler 2022-07-22 15:27:00 +08:00
parent a85b546e1f
commit 8682b1c09f
2 changed files with 17 additions and 22 deletions

View file

@ -19,16 +19,5 @@ jobs:
java-version: '11'
distribution: 'temurin'
- uses: gradle/gradle-build-action@v2
- name: Generate temporary keystore
run: keytool -genkey -v -storetype pkcs12 -keystore store.p12 -storepass android -alias android -keyalg RSA -keysize 2048 -validity 10000 -dname CN=CI
- name: Write retro.properties
run: |
cat >retro.properties <<EOF
storeFile=$PWD/store.p12
keyAlias=android
storePassword=android
keyPassword=android
EOF
- name: Build with Gradle
run: ./gradlew build