Skip to content

Commit 8fc042c

Browse files
committed
ci: add dummy google-services.json to fix google-services plugin missing file error
1 parent e302231 commit 8fc042c

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

.github/workflows/blacksmith.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,39 @@ jobs:
6666
- name: Grant execute permission for gradlew
6767
run: chmod +x gradlew
6868

69+
- name: Create dummy google-services.json
70+
run: |
71+
cat << 'EOF' > app/google-services.json
72+
{
73+
"project_info": {
74+
"project_number": "123456789012",
75+
"project_id": "dummy-project"
76+
},
77+
"client": [
78+
{
79+
"client_info": {
80+
"mobilesdk_app_id": "1:123456789012:android:0000000000000000",
81+
"android_client_info": {
82+
"package_name": "com.foobnix.pro.pdf.reader"
83+
}
84+
},
85+
"oauth_client": [],
86+
"api_key": [
87+
{
88+
"current_key": "dummy-api-key"
89+
}
90+
],
91+
"services": {
92+
"appinvite_service": {
93+
"other_platform_oauth_client": []
94+
}
95+
}
96+
}
97+
],
98+
"configuration_version": "1"
99+
}
100+
EOF
101+
69102
- name: Accept SDK Licenses
70103
run: yes | "$ANDROID_HOME/cmdline-tools/latest/bin/sdkmanager" --licenses || true
71104

0 commit comments

Comments
 (0)