File tree 4 files changed +6
-53
lines changed
4 files changed +6
-53
lines changed Original file line number Diff line number Diff line change 33
33
fi
34
34
env :
35
35
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
36
-
36
+
37
37
getOldDotBranchRef :
38
38
runs-on : ubuntu-latest
39
39
outputs :
@@ -50,17 +50,17 @@ jobs:
50
50
fi
51
51
env :
52
52
GITHUB_TOKEN : ${{ secrets.OS_BOTIFY_TOKEN }}
53
-
54
-
53
+
54
+
55
55
postGitHubCommentBuildStarted :
56
56
name : Post build started comment
57
57
uses : ./.github/workflows/postBuildStartedComment.yml
58
58
secrets : inherit
59
- with :
59
+ with :
60
60
APP_PULL_REQUEST_NUMBER : ${{ inputs.PULL_REQUEST_NUMBER }}
61
61
HYBRIDAPP_PULL_REQUEST_NUMBER : ${{ inputs.OLD_DOT_PULL_REQUEST_NUMBER }}
62
62
63
-
63
+
64
64
buildHybridAppAndroid :
65
65
name : Build HybridApp Android
66
66
needs : [getBranchRef, getOldDotBranchRef]
73
73
submodules : true
74
74
ref : ${{ needs.getBranchRef.outputs.REF || 'main' }}
75
75
token : ${{ secrets.OS_BOTIFY_TOKEN }}
76
- fetch-depth : 0
77
76
78
- - name : Update submodule to match main
79
- run : |
80
- git submodule update --init --remote
81
-
82
77
- name : Checkout OldDot if PR specified
83
78
if : ${{ needs.getOldDotBranchRef.outputs.OLD_DOT_REF != '' }}
84
79
run : |
@@ -178,7 +173,7 @@ jobs:
178
173
uses : ./.github/actions/composite/setupNode
179
174
with :
180
175
IS_HYBRID_BUILD : ' false'
181
-
176
+
182
177
- name : Install 1Password CLI
183
178
# v1
184
179
uses : 1password/install-cli-action@143a85f84a90555d121cde2ff5872e393a47ab9f
Original file line number Diff line number Diff line change 68
68
with :
69
69
submodules : true
70
70
token : ${{ secrets.OS_BOTIFY_TOKEN }}
71
- # fetch-depth: 0 is required in order to fetch the correct submodule branch
72
- fetch-depth : 0
73
-
74
- - name : Update submodule to match main
75
- run : |
76
- git submodule update --init --remote
77
71
78
72
- name : Configure MapBox SDK
79
73
run : ./scripts/setup-mapbox-sdk.sh ${{ secrets.MAPBOX_SDK_DOWNLOAD_TOKEN }}
@@ -311,12 +305,6 @@ jobs:
311
305
with :
312
306
submodules : true
313
307
token : ${{ secrets.OS_BOTIFY_TOKEN }}
314
- # fetch-depth: 0 is required in order to fetch the correct submodule branch
315
- fetch-depth : 0
316
-
317
- - name : Update submodule
318
- run : |
319
- git submodule update --init --remote
320
308
321
309
- name : Configure MapBox SDK
322
310
run : |
Original file line number Diff line number Diff line change @@ -187,15 +187,6 @@ jobs:
187
187
submodules : true
188
188
ref : ${{ needs.getNewDotRef.outputs.REF || 'main' }}
189
189
token : ${{ secrets.OS_BOTIFY_TOKEN }}
190
- # fetch-depth: 0 is required in order to fetch the correct submodule branch
191
- fetch-depth : 0
192
-
193
- - name : Update submodule to match main
194
- run : |
195
- git submodule update --init --remote
196
- if [[ -z "${{ needs.getOldDotRef.outputs.OLD_DOT_REF }}" ]]; then
197
- echo "Building from Mobile-Expensify main branch"
198
- fi
199
190
200
191
- name : Checkout Old Dot to author specified branch or commit
201
192
if : ${{ needs.getOldDotRef.outputs.OLD_DOT_REF != '' }}
@@ -311,15 +302,6 @@ jobs:
311
302
submodules : true
312
303
ref : ${{ needs.getNewDotRef.outputs.REF || 'main'}}
313
304
token : ${{ secrets.OS_BOTIFY_TOKEN }}
314
- # fetch-depth: 0 is required in order to fetch the correct submodule branch
315
- fetch-depth : 0
316
-
317
- - name : Update submodule to match main
318
- run : |
319
- git submodule update --init --remote
320
- if [[ -z "${{ needs.getOldDotRef.outputs.OLD_DOT_REF }}" ]]; then
321
- echo "Building from Mobile-Expensify main branch"
322
- fi
323
305
324
306
- name : Checkout Old Dot to author specified branch or commit
325
307
if : ${{ needs.getOldDotRef.outputs.OLD_DOT_REF != '' }}
Original file line number Diff line number Diff line change 69
69
ref : ${{ github.event.pull_request.head.sha }}
70
70
token : ${{ secrets.OS_BOTIFY_TOKEN }}
71
71
72
- - name : Update submodule to match main
73
- run : |
74
- git submodule update --init --remote --depth 1
75
- cd Mobile-Expensify
76
- git checkout main
77
-
78
72
- name : Configure MapBox SDK
79
73
run : ./scripts/setup-mapbox-sdk.sh ${{ secrets.MAPBOX_SDK_DOWNLOAD_TOKEN }}
80
74
@@ -112,12 +106,6 @@ jobs:
112
106
ref : ${{ github.event.pull_request.head.sha }}
113
107
token : ${{ secrets.OS_BOTIFY_TOKEN }}
114
108
115
- - name : Update submodule to match main
116
- run : |
117
- git submodule update --init --remote --depth 1
118
- cd Mobile-Expensify
119
- git checkout main
120
-
121
109
- name : Configure MapBox SDK
122
110
run : ./scripts/setup-mapbox-sdk.sh ${{ secrets.MAPBOX_SDK_DOWNLOAD_TOKEN }}
123
111
You can’t perform that action at this time.
0 commit comments