Fixed: Continuous Deployment fails to create a dummy bundle, even if not specified in the info.json.

* Fixed permission issues while installing `jq` in CI.
* Updated CI to set the TAG variable earlier, as it is required in the `Should upload dummy Bundle task`.
This commit is contained in:
MohitMaliFtechiz 2023-12-15 18:06:10 +05:30
parent cc9ba76e4f
commit 1103a8acae

View File

@ -54,7 +54,10 @@ jobs:
run: ./copy_files_to_kiwix_android.sh
- name: Install jq
run: apt-get install -y jq
run: sudo apt-get install -y jq
- name: Set tag variable
run: echo "TAG=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV
- name: Should upload dummy Bundle
run: |
@ -73,10 +76,6 @@ jobs:
run: |
echo "$keystore" | base64 -d > kiwix-android/kiwix-android.keystore
- name: Set tag variable
if: env.should_publish == 'true'
run: echo "TAG=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV
- name: Generate dummy Bundle
if: env.should_publish == 'true'
env: