Skip to content

Commit

Permalink
Improved the Determine playStore.json file job.
Browse files Browse the repository at this point in the history
  • Loading branch information
MohitMaliDeveloper committed Oct 31, 2024
1 parent e2fea87 commit 6a6bb01
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6a6bb01

Please sign in to comment.