@@ -3,7 +3,7 @@ name: zip
3
3
on :
4
4
pull_request :
5
5
paths :
6
- - ' ReleaseTooling/**'
6
+ - ' ReleaseTooling/Sources/ **'
7
7
- ' .github/workflows/zip.yml'
8
8
- ' scripts/build_non_firebase_sdks.sh'
9
9
- ' Gemfile*'
23
23
jobs :
24
24
package-release :
25
25
# Don't run on private repo.
26
- if : (github.event_name == 'schedule ' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
26
+ if : (github.repository == 'Firebase/firebase-ios-sdk ' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
27
27
runs-on : macOS-latest
28
28
steps :
29
29
- uses : actions/checkout@v2
59
59
60
60
package-head :
61
61
# Don't run on private repo.
62
- if : (github.event_name == 'schedule ' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
62
+ if : (github.repository == 'Firebase/firebase-ios-sdk ' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
63
63
needs : build
64
64
runs-on : macOS-latest
65
65
steps :
83
83
84
84
quickstart_framework_abtesting :
85
85
# Don't run on private repo.
86
- if : (github.event_name == 'schedule ' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
86
+ if : (github.repository == 'Firebase/firebase-ios-sdk ' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
87
87
needs : package-head
88
88
env :
89
89
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -100,7 +100,7 @@ jobs:
100
100
- name : Move frameworks
101
101
run : |
102
102
mkdir -p "${HOME}"/ios_frameworks/
103
- find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "* .zip" -maxdepth 3 -exec unzip -d "${HOME}"/ios_frameworks/ {} +
103
+ find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "Firebase*latest .zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
104
104
- name : Setup quickstart
105
105
run : SAMPLE="$SDK" TARGET="${SDK}Example" scripts/setup_quickstart_framework.sh \
106
106
" ${HOME}" /ios_frameworks/Firebase/FirebaseRemoteConfig/* \
@@ -127,7 +127,7 @@ jobs:
127
127
128
128
quickstart_framework_auth :
129
129
# Don't run on private repo.
130
- if : (github.event_name == 'schedule ' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
130
+ if : (github.repository == 'Firebase/firebase-ios-sdk ' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
131
131
needs : package-head
132
132
env :
133
133
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -144,7 +144,7 @@ jobs:
144
144
- name : Move frameworks
145
145
run : |
146
146
mkdir -p "${HOME}"/ios_frameworks/
147
- find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "* .zip" -maxdepth 3 -exec unzip -d "${HOME}"/ios_frameworks/ {} +
147
+ find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "Firebase*latest .zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
148
148
- name : Setup Swift Quickstart
149
149
run : SAMPLE="$SDK" TARGET="${SDK}Example" NON_FIREBASE_SDKS="FBSDKLoginKit FBSDKCoreKit" scripts/setup_quickstart_framework.sh \
150
150
" ${HOME}" /ios_frameworks/Firebase/NonFirebaseSDKs/* \
@@ -171,7 +171,7 @@ jobs:
171
171
172
172
quickstart_framework_config :
173
173
# Don't run on private repo.
174
- if : (github.event_name == 'schedule ' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
174
+ if : (github.repository == 'Firebase/firebase-ios-sdk ' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
175
175
needs : package-head
176
176
env :
177
177
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -188,7 +188,7 @@ jobs:
188
188
- name : Move frameworks
189
189
run : |
190
190
mkdir -p "${HOME}"/ios_frameworks/
191
- find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "* .zip" -maxdepth 3 -exec unzip -d "${HOME}"/ios_frameworks/ {} +
191
+ find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "Firebase*latest .zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
192
192
- name : Setup Swift Quickstart
193
193
run : SAMPLE="$SDK" TARGET="${SDK}Example" scripts/setup_quickstart_framework.sh \
194
194
" ${HOME}" /ios_frameworks/Firebase/FirebaseRemoteConfig/* \
@@ -212,7 +212,7 @@ jobs:
212
212
213
213
quickstart_framework_crashlytics :
214
214
# Don't run on private repo.
215
- if : (github.event_name == 'schedule ' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
215
+ if : (github.repository == 'Firebase/firebase-ios-sdk ' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
216
216
needs : package-head
217
217
env :
218
218
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -229,7 +229,7 @@ jobs:
229
229
- name : Move frameworks
230
230
run : |
231
231
mkdir -p "${HOME}"/ios_frameworks/
232
- find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "* .zip" -maxdepth 3 -exec unzip -d "${HOME}"/ios_frameworks/ {} +
232
+ find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "Firebase*latest .zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
233
233
- name : Setup quickstart
234
234
run : |
235
235
SAMPLE="$SDK" TARGET="${SDK}Example" scripts/setup_quickstart_framework.sh \
@@ -265,7 +265,7 @@ jobs:
265
265
266
266
quickstart_framework_database :
267
267
# Don't run on private repo.
268
- if : (github.event_name == 'schedule ' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
268
+ if : (github.repository == 'Firebase/firebase-ios-sdk ' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
269
269
needs : package-head
270
270
env :
271
271
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -282,7 +282,7 @@ jobs:
282
282
- name : Move frameworks
283
283
run : |
284
284
mkdir -p "${HOME}"/ios_frameworks/
285
- find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "* .zip" -maxdepth 3 -exec unzip -d "${HOME}"/ios_frameworks/ {} +
285
+ find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "Firebase*latest .zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
286
286
- name : Setup quickstart
287
287
run : SAMPLE="$SDK" TARGET="${SDK}Example" NON_FIREBASE_SDKS="FirebaseUI/Database" scripts/setup_quickstart_framework.sh \
288
288
" ${HOME}" /ios_frameworks/Firebase/FirebaseDatabase/* \
@@ -310,7 +310,7 @@ jobs:
310
310
311
311
quickstart_framework_dynamiclinks :
312
312
# Don't run on private repo.
313
- if : (github.event_name == 'schedule ' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
313
+ if : (github.repository == 'Firebase/firebase-ios-sdk ' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
314
314
needs : package-head
315
315
env :
316
316
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -327,7 +327,7 @@ jobs:
327
327
- name : Move frameworks
328
328
run : |
329
329
mkdir -p "${HOME}"/ios_frameworks/
330
- find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "* .zip" -maxdepth 3 -exec unzip -d "${HOME}"/ios_frameworks/ {} +
330
+ find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "Firebase*latest .zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
331
331
- name : Setup Objc Quickstart
332
332
run : SAMPLE="$SDK" TARGET="${SDK}Example" scripts/setup_quickstart_framework.sh \
333
333
" ${HOME}" /ios_frameworks/Firebase/FirebaseDynamicLinks/* \
@@ -360,7 +360,7 @@ jobs:
360
360
361
361
quickstart_framework_firestore :
362
362
# Don't run on private repo.
363
- if : (github.event_name == 'schedule ' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
363
+ if : (github.repository == 'Firebase/firebase-ios-sdk ' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
364
364
needs : package-head
365
365
env :
366
366
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -377,7 +377,7 @@ jobs:
377
377
- name : Move frameworks
378
378
run : |
379
379
mkdir -p "${HOME}"/ios_frameworks/
380
- find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "* .zip" -maxdepth 3 -exec unzip -d "${HOME}"/ios_frameworks/ {} +
380
+ find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "Firebase*latest .zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
381
381
- name : Setup quickstart
382
382
run : SAMPLE="$SDK" TARGET="${SDK}Example" NON_FIREBASE_SDKS="SDWebImage FirebaseUI/Auth FirebaseUI/Email FirebaseFirestoreSwift" scripts/setup_quickstart_framework.sh \
383
383
" ${HOME}" /ios_frameworks/Firebase/NonFirebaseSDKs/* \
@@ -403,7 +403,7 @@ jobs:
403
403
404
404
quickstart_framework_inappmessaging :
405
405
# Don't run on private repo.
406
- if : (github.event_name == 'schedule ' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
406
+ if : (github.repository == 'Firebase/firebase-ios-sdk ' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
407
407
needs : package-head
408
408
env :
409
409
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -420,7 +420,7 @@ jobs:
420
420
- name : Move frameworks
421
421
run : |
422
422
mkdir -p "${HOME}"/ios_frameworks/
423
- find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "* .zip" -maxdepth 3 -exec unzip -d "${HOME}"/ios_frameworks/ {} +
423
+ find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "Firebase*latest .zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
424
424
- name : Setup quickstart
425
425
run : SAMPLE="$SDK" TARGET="${SDK}Example" scripts/setup_quickstart_framework.sh \
426
426
" ${HOME}" /ios_frameworks/Firebase/FirebaseDynamicLinks/* \
@@ -449,7 +449,7 @@ jobs:
449
449
450
450
quickstart_framework_messaging :
451
451
# Don't run on private repo.
452
- if : (github.event_name == 'schedule ' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
452
+ if : (github.repository == 'Firebase/firebase-ios-sdk ' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
453
453
needs : package-head
454
454
env :
455
455
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -466,7 +466,7 @@ jobs:
466
466
- name : Move frameworks
467
467
run : |
468
468
mkdir -p "${HOME}"/ios_frameworks/
469
- find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "* .zip" -maxdepth 3 -exec unzip -d "${HOME}"/ios_frameworks/ {} +
469
+ find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "Firebase*latest .zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
470
470
- name : Setup quickstart
471
471
run : SAMPLE="$SDK" TARGET="${SDK}Example" scripts/setup_quickstart_framework.sh \
472
472
" ${HOME}" /ios_frameworks/Firebase/FirebaseMessaging/* \
@@ -494,7 +494,7 @@ jobs:
494
494
495
495
quickstart_framework_storage :
496
496
# Don't run on private repo.
497
- if : (github.event_name == 'schedule ' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
497
+ if : (github.repository == 'Firebase/firebase-ios-sdk ' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
498
498
needs : package-head
499
499
env :
500
500
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -511,7 +511,7 @@ jobs:
511
511
- name : Move frameworks
512
512
run : |
513
513
mkdir -p "${HOME}"/ios_frameworks/
514
- find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "* .zip" -maxdepth 3 -exec unzip -d "${HOME}"/ios_frameworks/ {} +
514
+ find "${GITHUB_WORKSPACE}/${FRAMEWORK_DIR}" -name "Firebase*latest .zip" -exec unzip -d "${HOME}"/ios_frameworks/ {} +
515
515
- name : Setup quickstart
516
516
run : SAMPLE="$SDK" TARGET="${SDK}Example" scripts/setup_quickstart_framework.sh \
517
517
" ${HOME}" /ios_frameworks/Firebase/FirebaseStorage/* \
0 commit comments