File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: manual
33on :
44 workflow_dispatch :
55 inputs :
6+ app_id_suffix :
7+ description : Description for app suffix
8+ required : true
9+ default : .csuDev
610 app_version :
711 description : Version of application
812 required : true
@@ -42,15 +46,16 @@ jobs:
4246 ./gradlew assembleCsuDevDebug --stacktrace
4347 env :
4448 APP_VERSION : " ${{ github.event.inputs.app_version }}"
49+ APPLICATION_ID_SUFFIX : " ${{ github.event.inputs.app_id_suffix }}"
4550
4651 # Run Tests Build
47- - name : Run gradle tests
48- run : ./gradlew testCsuDevDebugUnitTest --stacktrace
52+ # - name: Run gradle tests
53+ # run: ./gradlew testCsuDevDebugUnitTest --stacktrace
4954
5055 - uses : actions/upload-artifact@v4
5156 with :
5257 name : claims-csuTest-${{github.event.inputs.app_version}}
53- path : ./claimManagement/build/outputs/**/* .apk
58+ path : ./claimManagement/build/outputs/csuDev/claims-csuTest-${{ github.event.inputs.app_version}} .apk
5459 overwrite : true
5560
5661 # publish in release
5964 with :
6065 tag_name : ${{ github.event.inputs.release_tag }} # Sets the release tag to the pushed tag name (e.g., v1.0.0)
6166 name : ${{ github.event.inputs.app_version }} # Sets the release name to the pushed tag name (e.g., Release v1.0.0)
62- files : ./claimManagement/build/outputs/**/* .apk
67+ files : ./claimManagement/build/outputs/csuDev/claims-csuTest-${{ github.event.inputs.app_version}} .apk
6368 draft : false
6469 prerelease : false
6570 env :
Original file line number Diff line number Diff line change @@ -105,7 +105,7 @@ android {
105105 dimension ' std'
106106 }
107107 csuDev {
108- applicationIdSuffix " .csuDev"
108+ applicationIdSuffix System . getenv( " APPLICATION_ID_SUFFIX " ) ?: " .csuDev"
109109 resValue " string" , " app_name_claims" , " Claims CSU Test"
110110 resValue " string" , " release_tag" , " csu-test"
111111 buildConfigField " String" , " API_BASE_URL" , ' "https://test-csuapps.minsante.cm/"'
You can’t perform that action at this time.
0 commit comments