Skip to content

Commit af9515c

Browse files
committed
Generate new flavor for MOH Mali CHW training based on CHT-4.0
1 parent 43f0ada commit af9515c

File tree

10 files changed

+46
-0
lines changed

10 files changed

+46
-0
lines changed

.github/workflows/publish.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,32 @@ jobs:
332332
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_MOH_NIGER_CHW }}
333333
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_MOH_NIGER_CHW }}
334334

335+
- name: Unpack secrets moh_mali_chw_training_2
336+
env:
337+
ANDROID_SECRETS_KEY: ${{ secrets.ANDROID_SECRETS_KEY_MOH_MALI_CHW_TRAINING_2 }}
338+
ANDROID_SECRETS_IV: ${{ secrets.ANDROID_SECRETS_IV_MOH_MALI_CHW_TRAINING_2 }}
339+
run: make org=moh_mali_chw_training_2 keydec
340+
341+
- name: Assemble moh_mali_chw_training_2
342+
uses: maierj/fastlane-action@v1.4.0
343+
with:
344+
lane: build
345+
options: '{ "flavor": "moh_mali_chw_training_2" }'
346+
env:
347+
ANDROID_KEYSTORE_PATH: moh_mali_chw_training_2.keystore
348+
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_MOH_MALI_CHW_TRAINING_2 }}
349+
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_MOH_MALI_CHW_TRAINING_2 }}
350+
351+
- name: Bundle moh_mali_chw_training_2
352+
uses: maierj/fastlane-action@v1.4.0
353+
with:
354+
lane: bundle
355+
options: '{ "flavor": "moh_mali_chw_training_2" }'
356+
env:
357+
ANDROID_KEYSTORE_PATH: moh_mali_chw_training_2.keystore
358+
ANDROID_KEYSTORE_PASSWORD: ${{ secrets.ANDROID_KEYSTORE_PASSWORD_MOH_MALI_CHW_TRAINING_2 }}
359+
ANDROID_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD_MOH_MALI_CHW_TRAINING_2 }}
360+
335361
- name: GitHub release
336362
uses: softprops/action-gh-release@v1
337363
if: startsWith(github.ref, 'refs/tags/')
@@ -342,3 +368,4 @@ jobs:
342368
build/outputs/bundle/**/*-release.aab
343369
env:
344370
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
371+

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,12 @@ android {
385385
dimension = 'brand'
386386
applicationId = 'org.medicmobile.webapp.mobile.moh_niger_chw'
387387
}
388+
389+
moh_mali_chw_training_2 {
390+
dimension = 'brand'
391+
applicationId = 'org.medicmobile.webapp.mobile.moh_mali_chw_training_2'
392+
buildConfigField "boolean", "IS_TRAINING_APP", 'true'
393+
}
388394

389395
}
390396

5.66 KB
Binary file not shown.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:tools="http://schemas.android.com/tools"
4+
package="org.medicmobile.webapp.mobile">
5+
6+
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" tools:node="remove" />
7+
8+
</manifest>
11.4 KB
Loading
5.88 KB
Loading
18.4 KB
Loading
35.5 KB
Loading
56.9 KB
Loading
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="app_name">DISC-Mali-Formation-2</string>
4+
<string name="app_host">moh-mali-chw2.dev.medicmobile.org</string>
5+
</resources>

0 commit comments

Comments
 (0)