fix: correct conditional syntax in Google Play upload step

- Fixed the conditional syntax in the package-android.yml workflow to ensure proper evaluation of the GOOGLE_PLAY_SERVICE_ACCOUNT_JSON secret before uploading the AAB to Google Play.
This commit is contained in:
Steven Enamakel
2026-02-05 01:13:15 +05:30
parent 00301b3bd9
commit 484a99ea8f
+1 -1
View File
@@ -260,7 +260,7 @@ jobs:
# Requires secret GOOGLE_PLAY_SERVICE_ACCOUNT_JSON (full JSON key from Play Console API access)
# Track: internal | alpha | beta | production (use vars.GOOGLE_PLAY_TRACK to override)
- name: Upload AAB to Google Play
if: needs.get-version.outputs.should-publish == 'true' && ${{ secrets.GOOGLE_PLAY_SERVICE_ACCOUNT_JSON }} != ''
if: needs.get-version.outputs.should-publish == 'true' && ${{ secrets.GOOGLE_PLAY_SERVICE_ACCOUNT_JSON != '' }}
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.GOOGLE_PLAY_SERVICE_ACCOUNT_JSON }}