Use debug signingConfig if retro.properties doesn't exist
This commit is contained in:
parent
a85b546e1f
commit
8682b1c09f
2 changed files with 17 additions and 22 deletions
11
.github/workflows/android.yml
vendored
11
.github/workflows/android.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue