sforkowany z mirror/meshtastic-android
mock google-services in CI builds
rodzic
1b7861d24b
commit
ffd0a40fd1
|
@ -11,6 +11,10 @@ jobs:
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
- name: Checkout submodules
|
- name: Checkout submodules
|
||||||
uses: textbook/git-checkout-submodule-action@master
|
uses: textbook/git-checkout-submodule-action@master
|
||||||
|
- name: Mock google services
|
||||||
|
run: |
|
||||||
|
rm ./app/google-services.json
|
||||||
|
cp ./app/google-services-example.json ./app/google-services.json
|
||||||
- name: set up JDK 1.8
|
- name: set up JDK 1.8
|
||||||
uses: actions/setup-java@master
|
uses: actions/setup-java@master
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -0,0 +1,40 @@
|
||||||
|
{
|
||||||
|
"project_info": {
|
||||||
|
"project_number": "1111",
|
||||||
|
"firebase_url": "https://xxx.firebaseio.com",
|
||||||
|
"project_id": "xxx",
|
||||||
|
"storage_bucket": "xxx.appspot.com"
|
||||||
|
},
|
||||||
|
"client": [
|
||||||
|
{
|
||||||
|
"client_info": {
|
||||||
|
"mobilesdk_app_id": "1:xxx:android:1111",
|
||||||
|
"android_client_info": {
|
||||||
|
"package_name": "com.geeksville.mesh"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"oauth_client": [
|
||||||
|
{
|
||||||
|
"client_id": "111-xxx.apps.googleusercontent.com",
|
||||||
|
"client_type": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"api_key": [
|
||||||
|
{
|
||||||
|
"current_key": "xxx-c"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"services": {
|
||||||
|
"appinvite_service": {
|
||||||
|
"other_platform_oauth_client": [
|
||||||
|
{
|
||||||
|
"client_id": "111-xxx.apps.googleusercontent.com",
|
||||||
|
"client_type": 3
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"configuration_version": "1"
|
||||||
|
}
|
Ładowanie…
Reference in New Issue