Skip to content

Commit d7acb3a

Browse files
committed
ci: refine Google Play JSON handling and remove debug steps
This commit updates the Android CI workflow to: - Move the Google Play JSON file from the `secrets/app/` directory to `app/`. - Ensure the `app/` directory exists before moving the JSON file. - Remove redundant `Debug Secrets` steps from the `deploy-beta` and `deploy-firebase-internal` jobs.
1 parent da06095 commit d7acb3a

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

.github/workflows/android.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,10 @@ jobs:
215215
name: release-aab
216216
path: app/build/outputs/bundle/release
217217

218-
- name: Move JSON to app/
219-
run: mv *.json app/
218+
- name: Move Google Play JSON to app/
219+
run: |
220+
mkdir -p app/
221+
mv secrets/app/${{ env.GOOGLE_PLAY_JSON }} app/
220222
221223
- name: Debug Secrets
222224
run: ls -la app
@@ -252,9 +254,6 @@ jobs:
252254
name: release-aab
253255
path: app/build/outputs/bundle/release
254256

255-
- name: Debug Secrets
256-
run: ls -la app
257-
258257
- run: bundle exec fastlane deployBeta
259258

260259
deploy-firebase-internal:
@@ -286,7 +285,4 @@ jobs:
286285
name: release-aab
287286
path: app/build/outputs/bundle/release
288287

289-
- name: Debug Secrets
290-
run: ls -la app
291-
292288
- run: bundle exec fastlane deployFirebase --verbose

0 commit comments

Comments
 (0)