From ff67c1c1bc438d64ae6f9b2343a2774abab23a10 Mon Sep 17 00:00:00 2001 From: MohitMaliFtechiz Date: Thu, 31 Oct 2024 18:13:16 +0530 Subject: [PATCH] Improved the Determine playStore.json file job. --- .github/workflows/cd.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 6a3379a..2754a8f 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -44,11 +44,7 @@ jobs: env: NON_KIWIX_ORGANIZATION_TAG: ${{ env.NON_KIWIX_ORGANIZATION_TAG }} run: | - if [ -n "${{ secrets[env.NON_KIWIX_ORGANIZATION_TAG] }}" ]; then - echo "CUSTOM_PLAYSTORE_JSON=${{ secrets[env.NON_KIWIX_ORGANIZATION_TAG] }}" >> $GITHUB_ENV - else - echo "CUSTOM_PLAYSTORE_JSON=${{ secrets.PLAYSTORE_JSON }}" >> $GITHUB_ENV - fi + echo "CUSTOM_PLAYSTORE_JSON=${{ secrets[env.NON_KIWIX_ORGANIZATION_TAG] || secrets.PLAYSTORE_JSON }}" >> $GITHUB_ENV - name: Preparing signing material env: