Skip to content

Commit 2188c9a

Browse files
Temporary disabled the publishing task of custom app.
* Fixed the TAG not found issue.
1 parent 57b9113 commit 2188c9a

File tree

1 file changed

+35
-35
lines changed

1 file changed

+35
-35
lines changed

.github/workflows/publish.yml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,41 @@ on:
77
- main
88

99
jobs:
10-
publish:
10+
# publish:
11+
# runs-on: ubuntu-22.04
12+
#
13+
# steps:
14+
# - name: Retrieving custom app configuration
15+
# uses: actions/checkout@v3
16+
#
17+
# - name: Retrieving Kiwix Android source code
18+
# run: git clone --depth=1 --single-branch --branch header_issue_in_custom_application https://github.com/kiwix/kiwix-android.git
19+
#
20+
# - name: Copying custom app configuration into Kiwix Android code base
21+
# run: ./copy_files_to_kiwix_android.sh
22+
#
23+
# - name: Preparing signing material
24+
# env:
25+
# keystore: ${{ secrets.keystore }}
26+
# playstore_json: ${{ secrets.PLAYSTORE_JSON }}
27+
# run: |
28+
# echo "$playstore_json" > kiwix-android/playstore.json
29+
# echo "$keystore" | base64 -d > kiwix-android/kiwix-android.keystore
30+
#
31+
# - name: Set tag variable
32+
# run: echo "TAG=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV
33+
#
34+
# - name: Publishing app to Google Play
35+
# env:
36+
# KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
37+
# KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
38+
# KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }}
39+
# DWDS_HTTP_BASIC_ACCESS_AUTHENTICATION: ${{ secrets.DWDS_HTTP_BASIC_ACCESS_AUTHENTICATION }}
40+
# run: |
41+
# cd kiwix-android
42+
# eval "./gradlew publish${TAG^}ReleaseApkWithExpansionFile"
43+
44+
publish_dummy_apk:
1145
runs-on: ubuntu-22.04
1246

1347
steps:
@@ -23,31 +57,12 @@ jobs:
2357
- name: Preparing signing material
2458
env:
2559
keystore: ${{ secrets.keystore }}
26-
playstore_json: ${{ secrets.PLAYSTORE_JSON }}
2760
run: |
28-
echo "$playstore_json" > kiwix-android/playstore.json
2961
echo "$keystore" | base64 -d > kiwix-android/kiwix-android.keystore
3062
3163
- name: Set tag variable
3264
run: echo "TAG=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV
3365

34-
- name: Publishing app to Google Play
35-
env:
36-
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
37-
KEY_PASSWORD: ${{ secrets.KEY_PASSWORD }}
38-
KEY_STORE_PASSWORD: ${{ secrets.KEY_STORE_PASSWORD }}
39-
DWDS_HTTP_BASIC_ACCESS_AUTHENTICATION: ${{ secrets.DWDS_HTTP_BASIC_ACCESS_AUTHENTICATION }}
40-
run: |
41-
cd kiwix-android
42-
eval "./gradlew publish${TAG^}ReleaseApkWithExpansionFile"
43-
44-
publish_dummy_apk:
45-
runs-on: ubuntu-22.04
46-
47-
steps:
48-
- name: Retrieving custom app configuration
49-
uses: actions/checkout@v3
50-
5166
- name: Check if 'new' attribute is true
5267
run: |
5368
cd ${TAG}
@@ -59,21 +74,6 @@ jobs:
5974
exit 0 # Skip the job as APK is already published on play store
6075
fi
6176
62-
- name: Retrieving Kiwix Android source code
63-
run: git clone --depth=1 --single-branch --branch header_issue_in_custom_application https://github.com/kiwix/kiwix-android.git
64-
65-
- name: Copying custom app configuration into Kiwix Android code base
66-
run: ./copy_files_to_kiwix_android.sh
67-
68-
- name: Preparing signing material
69-
env:
70-
keystore: ${{ secrets.keystore }}
71-
run: |
72-
echo "$keystore" | base64 -d > kiwix-android/kiwix-android.keystore
73-
74-
- name: Set tag variable
75-
run: echo "TAG=$(echo ${GITHUB_REF:10})" >> $GITHUB_ENV
76-
7777
- name: Generate dummy APK
7878
env:
7979
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}

0 commit comments

Comments
 (0)