From 6a6bb01328152a4ba2130ce195601b96f216d5b9 Mon Sep 17 00:00:00 2001 From: MohitMaliFtechiz Date: Thu, 31 Oct 2024 18:10:25 +0530 Subject: [PATCH] Improved the Determine playStore.json file job. --- .github/workflows/cd.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index c80a3d5..6a3379a 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -41,9 +41,10 @@ jobs: echo "NON_KIWIX_ORGANIZATION_TAG=${non_kiwix_organization_tag}" >> $GITHUB_ENV - name: Determine playstore.json file + env: + NON_KIWIX_ORGANIZATION_TAG: ${{ env.NON_KIWIX_ORGANIZATION_TAG }} run: | - SECRET_VALUE="${{ secrets[env.NON_KIWIX_ORGANIZATION_TAG] }}" - if [ -n "$SECRET_VALUE" ]; then + 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