Keystore gen
This commit is contained in:
parent
f339c8964a
commit
a567c09b03
|
@ -38,6 +38,10 @@ jobs:
|
|||
FIREBASE_SECRET: ${{ secrets.GOOGLE_KEY }}
|
||||
run: echo $FIREBASE_SECRET > android/app/google-services.json
|
||||
|
||||
- name: Generate Temporary Keystore
|
||||
run: |
|
||||
keytool -genkey -noprompt -dname "CN=Unknown, OU=Unknown, O=Unknown, L=Unknown, ST=Unknown, C=Unknown" -keystore android/app/debug.keystore -storepass android -alias androiddebugkey -keypass android -keyalg RSA -keysize 2048 -validity 10000
|
||||
|
||||
- name: Build for detox
|
||||
run: |
|
||||
yarn detox build e2e --configuration android.experimental.play.emu.release
|
||||
|
|
|
@ -233,6 +233,10 @@ android {
|
|||
java.srcDirs = ['src/main/java', 'src/play/java']
|
||||
manifest.srcFile 'src/play/AndroidManifest.xml'
|
||||
}
|
||||
playE2E {
|
||||
java.srcDirs = ['src/main/java', 'src/play/java']
|
||||
manifest.srcFile 'src/androidTest/AndroidManifest.xml'
|
||||
}
|
||||
}
|
||||
|
||||
testBuildType "release"
|
||||
|
|
|
@ -204,7 +204,7 @@
|
|||
"android.experimental.play.release": {
|
||||
"type": "android.apk",
|
||||
"binaryPath": "android/app/build/outputs/apk/release/app-Experimental-Play-release.apk",
|
||||
"build": "cd android && ./gradlew assembleExperimentalPlayRelease assembleExperimentalPlayAndroidTest -DtestBuildType=release && cd .."
|
||||
"build": "cd android && ./gradlew assembleExperimentalPlayRelease assembleExperimentalPlayAndroidTest -DtestBuildType=release -DKEYSTORE=debug.keystore -DKEYSTORE_PASSWORD=android -DKEYSTORE_ALIAS=androiddebugkey && cd .."
|
||||
},
|
||||
"android.official.play.debug": {
|
||||
"type": "android.apk",
|
||||
|
|
Loading…
Reference in New Issue