File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 1- name : Flipchat Build and Deploy (Internal)
1+ name : Flipchat Build and Deploy
22
33env :
44 # The name of the main module repository
1010on :
1111 # Allows you to run this workflow manually from the Actions tab
1212 workflow_dispatch :
13+ inputs :
14+ track :
15+ description : ' Define PlayStore track name'
16+ required : true
17+ default : ' internal'
1318
1419jobs :
1520 deploy :
9095 KEY_ALIAS : ${{ secrets.KEY_ALIAS}}
9196 KEY_PASSWORD : ${{ secrets.KEYSTORE_PASSWORD }}
9297 SERVICE_ACCOUNT_KEY_JSON : ${{ steps.service_account_json_file.outputs.filePath }}
98+ PLAYSTORE_TRACK : ${{ github.event.inputs.track }}
9399
94100 - name : Upload build artifacts
95101 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ platform :android do
5858 end
5959
6060
61- desc "Build and Deploy a new internal version of Flipchat to the Google Play Store"
62- lane :deploy_fc_internal do
61+ desc "Build and Deploy a new version of Flipchat to the Google Play Store"
62+ lane :deploy_fc do
6363 #puts "Patch version for this build will be " + ENV["BUILD_NUMBER"]
6464 gradle (
6565 task : "clean flipchatApp:bundle" , #"clean app:bundleRelease",
@@ -89,7 +89,7 @@ platform :android do
8989 )
9090
9191 upload_to_play_store (
92- track : "internal" ,
92+ track : ENV [ "PLAYSTORE_TRACK" ] ,
9393 aab : Actions . lane_context [ SharedValues ::GRADLE_AAB_OUTPUT_PATH ] ,
9494 skip_upload_apk : true ,
9595 skip_upload_changelogs : true ,
You can’t perform that action at this time.
0 commit comments