File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 required : true
1717 default : ' internal'
1818
19+ release_status :
20+ description : ' Status of the release'
21+ required : true
22+ default : ' completed'
23+ options :
24+ - completed
25+ - draft
26+ - inProgress
27+ - halted
28+
1929jobs :
2030 deploy :
2131 runs-on : ubuntu-latest
90100 SERVICE_ACCOUNT_KEY_JSON : ${{ steps.service_account_json_file.outputs.filePath }}
91101 PACKAGE_NAME : com.flipcash.android.app
92102 PLAYSTORE_TRACK : ${{ github.event.inputs.track }}
103+ RELEASE_STATUS : ${{ github.event.inputs.release_status }}
93104
94105 - name : Upload build artifacts
95106 uses : actions/upload-artifact@v4
Original file line number Diff line number Diff line change 1616 required : true
1717 default : ' internal'
1818
19+ release_status :
20+ description : ' Status of the release'
21+ default : ' completed'
22+ required : true
23+ options :
24+ - completed
25+ - draft
26+ - inProgress
27+ - halted
28+
1929jobs :
2030 deploy :
2131 runs-on : ubuntu-latest
5565
5666 - name : Decode Upload Key Store file into location 1
5767 uses : timheuer/base64-to-file@v1
68+ id : signing_key
5869 with :
5970 fileName : key
6071 fileDir : ./key
@@ -91,13 +102,15 @@ jobs:
91102 - name : Build & deploy Android release
92103 run : bundle exec fastlane android deploy_flipchat
93104 env :
105+ STORE_FILE : ${{ steps.signing_key.outputs.filePath }}
94106 STORE_PASSWORD : ${{ secrets.KEYSTORE_PASSWORD }}
95107 KEY_ALIAS : ${{ secrets.KEY_ALIAS}}
96108 KEY_PASSWORD : ${{ secrets.KEYSTORE_PASSWORD }}
97109 SERVICE_ACCOUNT_KEY_JSON : ${{ steps.service_account_json_file.outputs.filePath }}
98110 PACKAGE_NAME : xyz.flipchat.app
99111 PLAYSTORE_TRACK : ${{ github.event.inputs.track }}
100-
112+ RELEASE_STATUS : ${{ github.event.inputs.release_status }}
113+
101114 - name : Upload build artifacts
102115 uses : actions/upload-artifact@v4
103116 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