File tree Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Expand file tree Collapse file tree 2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 15
15
patch_version :
16
16
description : " Patch Version Override - e.g. '999'"
17
17
type : string
18
-
18
+ ditribute :
19
+ description : " Distribute to TestFlight"
20
+ type : boolean
21
+ default : false
19
22
env :
20
23
XCODE_VERSION : ' 15.4'
21
-
24
+ DISTRIBUTE_TO_TESTFLIGHT : ${{ github.event_name == 'push' || inputs.distribute }}
22
25
jobs :
23
26
resolve-values :
24
27
name : " Resolve values"
86
89
build-version : ${{ needs.resolve-values.outputs.version_name }}
87
90
build-number : ${{ needs.resolve-values.outputs.version_number }}
88
91
xcode-version : $XCODE_VERSION
92
+ distribute : $DISTRIBUTE_TO_TESTFLIGHT
89
93
secrets : inherit
Original file line number Diff line number Diff line change 31
31
patch_version :
32
32
description : " Patch Version Override - e.g. '999'"
33
33
type : string
34
+ ditribute :
35
+ description : " Distribute to TestFlight"
36
+ type : boolean
37
+ default : false
34
38
workflow_call :
35
39
inputs :
36
40
build-variant :
55
59
patch_version :
56
60
description : " Patch Version Override - e.g. '999'"
57
61
type : string
62
+ ditribute :
63
+ description : " Distribute to TestFlight"
64
+ type : boolean
65
+ default : false
58
66
env :
59
67
BUILD_VARIANT : ${{ inputs.build-variant || 'Beta' }}
60
68
XCODE_VERSION : ${{ inputs.xcode-version || '15.4' }}
@@ -350,6 +358,7 @@ jobs:
350
358
--apiIssuer "${{ secrets.APP_STORE_CONNECT_TEAM_ISSUER }}"
351
359
352
360
- name : Upload app to TestFlight with Fastlane
361
+ if : ${{ inputs.ditribute }}
353
362
run : |
354
363
CHANGELOG="$(git show -s --format=%s)
355
364
$GITHUB_REPOSITORY/$GITHUB_REF_NAME @ $GITHUB_SHA
You can’t perform that action at this time.
0 commit comments