Skip to content

Commit c23e0d7

Browse files
authored
Fix environment variable for google-services.json creation
1 parent cec747d commit c23e0d7

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/android-ci.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,12 @@ jobs:
5151
run: |
5252
echo "dev_base_url=$DEV_BASE_URL" >> local.properties
5353
echo "prod_base_url=$PROD_BASE_URL" >> local.properties
54-
54+
5555
- name: Create google-services.json
5656
env:
57-
GOOGLE_SERVICES_JSON_DEBUG: ${{ secrets.GOOGLE_SERVICES_JSON_DEBUG }}
57+
GOOGLE_SERVICES_JSON: ${{ secrets.GOOGLE_SERVICES_JSON_DEBUG }}
5858
run: |
59-
mkdir -p ./app/src/debug
60-
echo "${GOOGLE_SERVICES_JSON_DEBUG}" > ./app/src/debug/google-services.json
59+
echo "$GOOGLE_SERVICES_JSON" > app/google-services.json
6160
6261
- name: Clean Project
6362
run: ./gradlew clean

0 commit comments

Comments
 (0)