Skip to content

Commit

Permalink
Fixed: Continuous Deployment fails to create a dummy bundle, even if …
Browse files Browse the repository at this point in the history
…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`.
  • Loading branch information
MohitMaliFtechiz committed Dec 15, 2023
1 parent cc9ba76 commit 1103a8a
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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:
Expand Down

0 comments on commit 1103a8a

Please sign in to comment.