File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed
Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change 11name : Shippable Builds
22
3+ env :
4+ DEFAULT_VERSION : &default_version "1.0"
5+ DEFAULT_NOTIFY_TESTERS : &default_notify_testers false
6+ DEFAULT_TEST_DEVICE : &default_test_device "iPhone 17"
7+
38on :
9+ schedule :
10+ # Weekly run on Friday at 14:00 UTC
11+ - cron : ' 57 19 * * *'
412 workflow_dispatch :
513 inputs :
614 version :
715 description : ' Version to build (optional)'
816 required : false
9- default : " 1.0 "
17+ default : *default_version
1018 type : string
1119 notify_testers :
1220 description : ' Notify external testers'
1321 required : false
14- default : false
22+ default : *default_notify_testers
1523 type : boolean
1624 test_device :
1725 description : ' iOS Simulator device for tests (optional)'
1826 required : false
19- default : " iPhone 17 "
27+ default : *default_test_device
2028 type : string
2129
2230concurrency :
@@ -150,9 +158,9 @@ jobs:
150158 APP_STORE_CONNECT_API_KEY_ID : ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }}
151159 APP_STORE_CONNECT_ISSUER_ID : ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}
152160 APPLE_TEAM_ID : ${{ secrets.APPLE_TEAM_ID }}
153- VERSION_INPUT : ${{ inputs.version }}
154- NOTIFY_TESTERS : ${{ inputs.notify_testers }}
155- TEST_DEVICE : ${{ inputs.test_device }}
161+ VERSION_INPUT : ${{ github.event. inputs.version || env.DEFAULT_VERSION }}
162+ NOTIFY_TESTERS : ${{ github.event. inputs.notify_testers || env.DEFAULT_NOTIFY_TESTERS }}
163+ TEST_DEVICE : ${{ github.event. inputs.test_device || env.DEFAULT_TEST_DEVICE }}
156164 APP_STORE_CONNECT_API_KEY_PATH : ${{ env.APP_STORE_CONNECT_API_KEY_PATH }}
157165 run : |
158166 bundle exec fastlane beta
You can’t perform that action at this time.
0 commit comments