mirror of
https://github.com/kiwix/kiwix-android-custom.git
synced 2025-09-27 14:55:13 -04:00
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:
parent
cc9ba76e4f
commit
1103a8acae
9
.github/workflows/publish.yml
vendored
9
.github/workflows/publish.yml
vendored
@ -54,7 +54,10 @@ jobs:
|
|||||||
run: ./copy_files_to_kiwix_android.sh
|
run: ./copy_files_to_kiwix_android.sh
|
||||||
|
|
||||||
- name: Install jq
|
- 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
|
- name: Should upload dummy Bundle
|
||||||
run: |
|
run: |
|
||||||
@ -73,10 +76,6 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
echo "$keystore" | base64 -d > kiwix-android/kiwix-android.keystore
|
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
|
- name: Generate dummy Bundle
|
||||||
if: env.should_publish == 'true'
|
if: env.should_publish == 'true'
|
||||||
env:
|
env:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user