File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 13
13
- name : Check out repository
14
14
uses : actions/checkout@v3
15
15
16
- # Decode the base64-encoded google-services.json secret into a file.
16
+ # Decode the base64-encoded JSON secret into a file.
17
17
- name : Create google-services.json
18
18
run : |
19
19
echo "${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }}" | base64 --decode > google-services.json
@@ -23,11 +23,11 @@ jobs:
23
23
run : |
24
24
printf "%s" "${{ secrets.ENV_FILE_CONTENT }}" > .env
25
25
26
- # Debug: Check file size (optional)
26
+ # Debug: Check file size of google-services.json
27
27
- name : Check google-services.json file size
28
28
run : wc -c google-services.json
29
29
30
- # Optional : Validate JSON syntax (will fail if invalid)
30
+ # Debug : Validate JSON syntax (this will fail if the JSON is empty or invalid)
31
31
- name : Validate google-services.json
32
32
run : node -e "JSON.parse(require('fs').readFileSync('google-services.json','utf8'))"
33
33
You can’t perform that action at this time.
0 commit comments