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 : ' * * * * *'
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 :
@@ -25,6 +33,7 @@ concurrency:
2533
2634jobs :
2735 build_and_deploy_ios :
36+ # if: github.repository == 'thunderbird/thunderbird-ios'
2837 runs-on : macos-26
2938 environment : thunderbird_release
3039
@@ -150,9 +159,9 @@ jobs:
150159 APP_STORE_CONNECT_API_KEY_ID : ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }}
151160 APP_STORE_CONNECT_ISSUER_ID : ${{ secrets.APP_STORE_CONNECT_ISSUER_ID }}
152161 APPLE_TEAM_ID : ${{ secrets.APPLE_TEAM_ID }}
153- VERSION_INPUT : ${{ inputs.version }}
154- NOTIFY_TESTERS : ${{ inputs.notify_testers }}
155- TEST_DEVICE : ${{ inputs.test_device }}
162+ VERSION_INPUT : ${{ github.event. inputs.version || env.DEFAULT_VERSION }}
163+ NOTIFY_TESTERS : ${{ github.event. inputs.notify_testers || env.DEFAULT_NOTIFY_TESTERS }}
164+ TEST_DEVICE : ${{ github.event. inputs.test_device || env.DEFAULT_TEST_DEVICE }}
156165 APP_STORE_CONNECT_API_KEY_PATH : ${{ env.APP_STORE_CONNECT_API_KEY_PATH }}
157166 run : |
158167 bundle exec fastlane beta
0 commit comments