66 api_base_url :
77 description : URL of the REST API
88 required : true
9- default : https://release.openimis.org/rest/
10- app_name :
11- description : Display name of the application
12- required : false
13- default : Claims Manual
14- app_dir :
15- description : Name of the folder in Documents, default IMIS-CLI
16- required : false
17- application_id_suffix :
18- description : Display suffix of the app, like .mvDev or .bephaDev, defaults to .cli
19- required : false
20- cli_java_dir :
21- description : java source folder for custom functions. Only works with application_id_suffix .cli
22- required : false
23- cli_res_dir :
24- description : Resources folder for icons. Only works with application_id_suffix .cli
25- required : false
9+ default : https://test.amg.km/rest/
2610# Branch is chosen by default in github manual actions
2711
2812jobs :
@@ -43,26 +27,20 @@ jobs:
4327 run : |
4428 gradle --version
4529 echo url ${{ github.event.inputs.api_base_url }}
46- echo app name ${{ github.event.inputs.app_name }}
4730
4831 - name : build
4932 run : |
50- ./gradlew assembleCliDebug --stacktrace
33+ ./gradlew assemblecomoresDevDebug --stacktrace
5134 env :
5235 API_BASE_URL : " ${{ github.event.inputs.api_base_url }}"
53- CLI_APP_NAME : " ${{ github.event.inputs.app_name }}"
54- CLI_APP_DIR : " ${{ github.event.inputs.app_dir }}"
55- CLI_JAVA_DIR : " ${{ github.event.inputs.cli_java_dir }}"
56- CLI_RES_DIR : " ${{ github.event.inputs.cli_res_dir }}"
57- APPLICATION_ID_SUFFIX : " ${{ github.event.inputs.application_id_suffix }}"
5836
5937 - name : Environment info
6038 run : |
6139 gradle --version
6240
63- - uses : actions/upload-artifact@v2
41+ - uses : actions/upload-artifact@v4
6442 with :
65- name : openimis-claims-apk-${{github.run_number}}-${{github.sha}}
43+ name : openimis-claims-apk-${{github.run_number}}.apk
6644 path : ./claimManagement/build/outputs/**/*.apk
6745
6846# - name: build
0 commit comments