Skip to content

Commit d801f24

Browse files
committed
update git workflows
1 parent 3d2c5e9 commit d801f24

2 files changed

Lines changed: 9 additions & 31 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,26 +27,26 @@ jobs:
2727
2828
- name: build
2929
run: |
30-
./gradlew assembleDebug --stacktrace
30+
./gradlew assemblecomoresDevDebug --stacktrace
3131
3232
- name: Environment info
3333
run: |
3434
gradle --version
3535
36-
- uses: actions/upload-artifact@v2
36+
- uses: actions/upload-artifact@v4
3737
with:
38-
name: openimis-claims-apk-${{github.run_number}}-${{github.sha}}
38+
name: openimis-claims-apk-${{github.run_number}}.apk
3939
path: ./claimManagement/build/outputs/**/*.apk
4040

4141
- name: build
4242
run: |
43-
./gradlew bundleDebug --stacktrace
43+
./gradlew bundlecomoresDevDebug --stacktrace
4444
4545
- name: Environment info
4646
run: |
4747
gradle --version
4848
4949
- uses: actions/upload-artifact@v2
5050
with:
51-
name: openimis-claims-aab-${{github.run_number}}-${{github.sha}}
51+
name: openimis-claims-aab-${{github.run_number}}.aab
5252
path: ./claimManagement/build/outputs/**/*.aab

.github/workflows/manual.yml

Lines changed: 4 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,23 +6,7 @@ on:
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

2812
jobs:
@@ -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

Comments
 (0)