From 1103a8acaea6c2728258011a9cb9bf4e1e237c2d Mon Sep 17 00:00:00 2001 From: MohitMaliFtechiz Date: Fri, 15 Dec 2023 18:06:10 +0530 Subject: [PATCH] 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`. --- .github/workflows/publish.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5675c71..02dd1e6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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: