47
47
package-release :
48
48
# Don't run on private repo.
49
49
if : |
50
+ false &&
50
51
github.repository == 'firebase/firebase-ios-sdk' &&
51
52
contains(fromJSON('["schedule", "pull_request", "workflow_dispatch"]'), github.event_name) &&
52
- github.event.inputs.zip_run_id == '' && env.PINNED_RUN_ID == ''
53
+ github.event.inputs.zip_run_id == ''
53
54
runs-on : macos-14
54
55
steps :
55
56
- uses : actions/checkout@v4
78
79
build :
79
80
# Don't run on private repo unless it is a PR.
80
81
if : |
82
+ false &&
81
83
github.repository == 'firebase/firebase-ios-sdk' &&
82
84
contains(fromJSON('["schedule", "pull_request", "workflow_dispatch"]'), github.event_name) &&
83
- github.event.inputs.zip_run_id == '' && env.PINNED_RUN_ID == ''
85
+ github.event.inputs.zip_run_id == ''
84
86
runs-on : macos-14
85
87
steps :
86
88
- uses : actions/checkout@v4
@@ -124,7 +126,7 @@ jobs:
124
126
125
127
quickstart_framework_abtesting :
126
128
needs : package-head
127
- if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '' || env.PINNED_RUN_ID != '' ) }}
129
+ if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
128
130
env :
129
131
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
130
132
SDK : " ABTesting"
@@ -141,7 +143,7 @@ jobs:
141
143
142
144
with :
143
145
name : ${{ matrix.artifact }}
144
- run-id : ${{ github.event.inputs.zip_run_id || env.PINNED_RUN_ID != '' || github.run_id }}
146
+ run-id : ${{ github.event.inputs.zip_run_id || env.PINNED_RUN_ID || github.run_id }}
145
147
github-token : ${{ secrets.GITHUB_TOKEN }}
146
148
- uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
147
149
- name : Xcode
@@ -177,7 +179,7 @@ jobs:
177
179
178
180
quickstart_framework_auth :
179
181
needs : package-head
180
- if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '' || env.PINNED_RUN_ID != '' ) }}
182
+ if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
181
183
env :
182
184
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
183
185
SDK : " Authentication"
@@ -195,7 +197,7 @@ jobs:
195
197
196
198
with :
197
199
name : ${{ matrix.artifact }}
198
- run-id : ${{ github.event.inputs.zip_run_id || env.PINNED_RUN_ID != '' || github.run_id }}
200
+ run-id : ${{ github.event.inputs.zip_run_id || github.run_id }}
199
201
github-token : ${{ secrets.GITHUB_TOKEN }}
200
202
- uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
201
203
- name : Xcode
@@ -228,7 +230,7 @@ jobs:
228
230
229
231
quickstart_framework_config :
230
232
needs : package-head
231
- if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '' || env.PINNED_RUN_ID != '' ) }}
233
+ if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
232
234
env :
233
235
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
234
236
SDK : " Config"
@@ -245,7 +247,7 @@ jobs:
245
247
246
248
with :
247
249
name : ${{ matrix.artifact }}
248
- run-id : ${{ github.event.inputs.zip_run_id || env.PINNED_RUN_ID != '' || github.run_id }}
250
+ run-id : ${{ github.event.inputs.zip_run_id || github.run_id }}
249
251
github-token : ${{ secrets.GITHUB_TOKEN }}
250
252
- uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
251
253
- name : Xcode
@@ -277,7 +279,7 @@ jobs:
277
279
278
280
quickstart_framework_crashlytics :
279
281
needs : package-head
280
- if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '' || env.PINNED_RUN_ID != '' ) }}
282
+ if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
281
283
env :
282
284
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
283
285
SDK : " Crashlytics"
@@ -294,7 +296,7 @@ jobs:
294
296
295
297
with :
296
298
name : ${{ matrix.artifact }}
297
- run-id : ${{ github.event.inputs.zip_run_id || env.PINNED_RUN_ID != '' || github.run_id }}
299
+ run-id : ${{ github.event.inputs.zip_run_id || github.run_id }}
298
300
github-token : ${{ secrets.GITHUB_TOKEN }}
299
301
- uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
300
302
- name : Xcode
@@ -343,7 +345,7 @@ jobs:
343
345
344
346
quickstart_framework_database :
345
347
needs : package-head
346
- if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '' || env.PINNED_RUN_ID != '' ) }}
348
+ if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
347
349
env :
348
350
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
349
351
SDK : " Database"
@@ -359,7 +361,7 @@ jobs:
359
361
360
362
with :
361
363
name : ${{ matrix.artifact }}
362
- run-id : ${{ github.event.inputs.zip_run_id || env.PINNED_RUN_ID != '' || github.run_id }}
364
+ run-id : ${{ github.event.inputs.zip_run_id || github.run_id }}
363
365
github-token : ${{ secrets.GITHUB_TOKEN }}
364
366
- uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
365
367
- name : Xcode
@@ -395,7 +397,7 @@ jobs:
395
397
396
398
quickstart_framework_firestore :
397
399
needs : package-head
398
- if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '' || env.PINNED_RUN_ID != '' ) }}
400
+ if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
399
401
env :
400
402
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
401
403
SDK : " Firestore"
@@ -412,7 +414,7 @@ jobs:
412
414
413
415
with :
414
416
name : ${{ matrix.artifact }}
415
- run-id : ${{ github.event.inputs.zip_run_id || env.PINNED_RUN_ID != '' || github.run_id }}
417
+ run-id : ${{ github.event.inputs.zip_run_id || github.run_id }}
416
418
github-token : ${{ secrets.GITHUB_TOKEN }}
417
419
- uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
418
420
- name : Xcode
@@ -452,7 +454,7 @@ jobs:
452
454
453
455
check_framework_firestore_symbols :
454
456
needs : package-head
455
- if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '' || env.PINNED_RUN_ID != '' ) }}
457
+ if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
456
458
env :
457
459
FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT : 1
458
460
runs-on : macos-14
@@ -464,7 +466,7 @@ jobs:
464
466
465
467
with :
466
468
name : Firebase-actions-dir
467
- run-id : ${{ github.event.inputs.zip_run_id || env.PINNED_RUN_ID != '' || github.run_id }}
469
+ run-id : ${{ github.event.inputs.zip_run_id || github.run_id }}
468
470
github-token : ${{ secrets.GITHUB_TOKEN }}
469
471
- uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
470
472
- name : Setup Bundler
@@ -484,7 +486,7 @@ jobs:
484
486
485
487
quickstart_framework_inappmessaging :
486
488
needs : package-head
487
- if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '' || env.PINNED_RUN_ID != '' ) }}
489
+ if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
488
490
env :
489
491
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
490
492
SDK : " InAppMessaging"
@@ -501,7 +503,7 @@ jobs:
501
503
502
504
with :
503
505
name : ${{ matrix.artifact }}
504
- run-id : ${{ github.event.inputs.zip_run_id || env.PINNED_RUN_ID != '' || github.run_id }}
506
+ run-id : ${{ github.event.inputs.zip_run_id || github.run_id }}
505
507
github-token : ${{ secrets.GITHUB_TOKEN }}
506
508
- uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
507
509
- name : Xcode
@@ -537,7 +539,7 @@ jobs:
537
539
538
540
quickstart_framework_messaging :
539
541
needs : package-head
540
- if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '' || env.PINNED_RUN_ID != '' ) }}
542
+ if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
541
543
env :
542
544
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
543
545
SDK : " Messaging"
@@ -554,7 +556,7 @@ jobs:
554
556
555
557
with :
556
558
name : ${{ matrix.artifact }}
557
- run-id : ${{ github.event.inputs.zip_run_id || env.PINNED_RUN_ID != '' || github.run_id }}
559
+ run-id : ${{ github.event.inputs.zip_run_id || github.run_id }}
558
560
github-token : ${{ secrets.GITHUB_TOKEN }}
559
561
- uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
560
562
- name : Xcode
@@ -590,7 +592,7 @@ jobs:
590
592
591
593
quickstart_framework_storage :
592
594
needs : package-head
593
- if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '' || env.PINNED_RUN_ID != '' ) }}
595
+ if : ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
594
596
env :
595
597
plist_secret : ${{ secrets.GHASecretsGPGPassphrase1 }}
596
598
SDK : " Storage"
@@ -607,7 +609,7 @@ jobs:
607
609
608
610
with :
609
611
name : ${{ matrix.artifact }}
610
- run-id : ${{ github.event.inputs.zip_run_id || env.PINNED_RUN_ID != '' || github.run_id }}
612
+ run-id : ${{ github.event.inputs.zip_run_id || github.run_id }}
611
613
github-token : ${{ secrets.GITHUB_TOKEN }}
612
614
- uses : ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
613
615
- name : Xcode
0 commit comments