File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1313 - name : Check out repository
1414 uses : actions/checkout@v3
1515
16- # Decode the base64-encoded google-services.json secret into a file.
16+ # Decode the base64-encoded JSON secret into a file.
1717 - name : Create google-services.json
1818 run : |
1919 echo "${{ secrets.GOOGLE_SERVICES_JSON_BASE64 }}" | base64 --decode > google-services.json
@@ -23,11 +23,11 @@ jobs:
2323 run : |
2424 printf "%s" "${{ secrets.ENV_FILE_CONTENT }}" > .env
2525
26- # Debug: Check file size (optional)
26+ # Debug: Check file size of google-services.json
2727 - name : Check google-services.json file size
2828 run : wc -c google-services.json
2929
30- # Optional : Validate JSON syntax (will fail if invalid)
30+ # Debug : Validate JSON syntax (this will fail if the JSON is empty or invalid)
3131 - name : Validate google-services.json
3232 run : node -e "JSON.parse(require('fs').readFileSync('google-services.json','utf8'))"
3333
You can’t perform that action at this time.
0 commit comments