mirror of
https://github.com/mosip/inji-wallet.git
synced 2026-01-09 05:27:57 -05:00
[INJIMOB-1278]: add release/debug build support to android custom build (#1597)
Signed-off-by: adityankannan-tw <adityan410pm@gmail.com> Co-authored-by: adityankannan-tw <adityan410pm@gmail.com>
This commit is contained in:
11
.github/workflows/android-custom-build.yml
vendored
11
.github/workflows/android-custom-build.yml
vendored
@@ -35,6 +35,14 @@ on:
|
||||
options:
|
||||
- orange
|
||||
- purple
|
||||
type:
|
||||
description: 'Apk type'
|
||||
required: true
|
||||
default: 'release'
|
||||
type: choice
|
||||
options:
|
||||
- release
|
||||
- debug
|
||||
|
||||
jobs:
|
||||
build-android:
|
||||
@@ -45,6 +53,7 @@ jobs:
|
||||
ESIGNET_HOST: ${{ inputs.esignetBackendServiceUrl }}
|
||||
APPLICATION_THEME: ${{ inputs.theme }}
|
||||
ALLOW_ENV_EDIT: ${{ inputs.allow_env_edit }}
|
||||
APPLICATION_TYPE: ${{ inputs.type }}
|
||||
KEYSTORE_ALIAS: androidbuildkey
|
||||
KEYSTORE_PASSWORD: 'password'
|
||||
SERVICE_LOCATION: '.'
|
||||
@@ -53,4 +62,4 @@ jobs:
|
||||
SCRIPT_NAME: './android-build.sh'
|
||||
UPLOAD_TO_ACTIONS: 'true'
|
||||
ANDROID_ARTIFACT_NAME: ${{ inputs.buildName }}
|
||||
ANDROID_ARTIFACT_PATH: "android/app/build/outputs/apk/residentapp/release/Inji_universal.apk"
|
||||
ANDROID_ARTIFACT_PATH: "android/app/build/outputs/apk/residentapp/${{ inputs.type }}/Inji_universal.apk"
|
||||
Reference in New Issue
Block a user