File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515 description : ' Define PlayStore track name'
1616 required : true
1717 default : ' internal'
18+ type : choice
19+ options :
20+ - internal
21+ - alpha
22+ - beta
23+ - production
24+
25+ release_status :
26+ description : ' Status of the release'
27+ required : true
28+ type : choice
29+ default : ' completed'
30+ options :
31+ - completed
32+ - draft
33+ - inProgress
34+ - halted
1835
1936jobs :
2037 deploy :
90107 SERVICE_ACCOUNT_KEY_JSON : ${{ steps.service_account_json_file.outputs.filePath }}
91108 PACKAGE_NAME : com.flipcash.android.app
92109 PLAYSTORE_TRACK : ${{ github.event.inputs.track }}
110+ RELEASE_STATUS : ${{ github.event.inputs.release_status }}
93111
94112 - name : Upload build artifacts
95113 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 1515 description : ' Define PlayStore track name'
1616 required : true
1717 default : ' internal'
18+ type : choice
19+ options :
20+ - internal
21+ - alpha
22+ - beta
23+ - production
24+
25+ release_status :
26+ description : ' Status of the release'
27+ default : ' completed'
28+ type : choice
29+ required : true
30+ options :
31+ - completed
32+ - draft
33+ - inProgress
34+ - halted
1835
1936jobs :
2037 deploy :
5572
5673 - name : Decode Upload Key Store file into location 1
5774 uses : timheuer/base64-to-file@v1
75+ id : signing_key
5876 with :
5977 fileName : key
6078 fileDir : ./key
@@ -91,13 +109,15 @@ jobs:
91109 - name : Build & deploy Android release
92110 run : bundle exec fastlane android deploy_flipchat
93111 env :
112+ STORE_FILE : ${{ steps.signing_key.outputs.filePath }}
94113 STORE_PASSWORD : ${{ secrets.KEYSTORE_PASSWORD }}
95114 KEY_ALIAS : ${{ secrets.KEY_ALIAS}}
96115 KEY_PASSWORD : ${{ secrets.KEYSTORE_PASSWORD }}
97116 SERVICE_ACCOUNT_KEY_JSON : ${{ steps.service_account_json_file.outputs.filePath }}
98117 PACKAGE_NAME : xyz.flipchat.app
99118 PLAYSTORE_TRACK : ${{ github.event.inputs.track }}
100-
119+ RELEASE_STATUS : ${{ github.event.inputs.release_status }}
120+
101121 - name : Upload build artifacts
102122 uses : actions/upload-artifact@v4
103123 if : always()
Original file line number Diff line number Diff line change @@ -54,7 +54,8 @@ platform :android do
5454 )
5555
5656 upload_to_play_store (
57- track : "internal" ,
57+ track : ENV [ "PLAYSTORE_TRACK" ] ,
58+ # release_status: ENV["RELEASE_STATUS"],
5859 aab : Actions . lane_context [ SharedValues ::GRADLE_AAB_OUTPUT_PATH ] ,
5960 skip_upload_apk : true ,
6061 skip_upload_changelogs : true ,
@@ -102,6 +103,7 @@ platform :android do
102103
103104 upload_to_play_store (
104105 track : ENV [ "PLAYSTORE_TRACK" ] ,
106+ release_status : ENV [ "RELEASE_STATUS" ] ,
105107 aab : Actions . lane_context [ SharedValues ::GRADLE_AAB_OUTPUT_PATH ] ,
106108 skip_upload_apk : true ,
107109 skip_upload_changelogs : true ,
@@ -143,6 +145,7 @@ desc "Build and Deploy a new version of Flipcash to the Google Play Store"
143145
144146 upload_to_play_store (
145147 track : ENV [ "PLAYSTORE_TRACK" ] ,
148+ release_status : ENV [ "RELEASE_STATUS" ] ,
146149 aab : Actions . lane_context [ SharedValues ::GRADLE_AAB_OUTPUT_PATH ] ,
147150 skip_upload_apk : true ,
148151 skip_upload_changelogs : true ,
You can’t perform that action at this time.
0 commit comments