From 6d9392d6ec2de9a8c704a209aac4e15fa7bb3036 Mon Sep 17 00:00:00 2001 From: MohitMaliFtechiz Date: Thu, 31 Oct 2024 17:49:53 +0530 Subject: [PATCH] Improved the Determine playStore.json file jjob. --- .github/workflows/cd.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 398654c..6af3d4c 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -42,11 +42,8 @@ jobs: - name: Determine playstore.json file 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 + non_kiwix_secret="${NON_KIWIX_ORGANIZATION_TAG}" + echo "CUSTOM_PLAYSTORE_JSON=${{ secrets[non_kiwix_secret] || secrets.PLAYSTORE_JSON }}" >> $GITHUB_ENV - name: Preparing signing material env: