Skip to content

Commit 23b83d9

Browse files
committed
work
1 parent c72026c commit 23b83d9

File tree

1 file changed

+24
-22
lines changed

1 file changed

+24
-22
lines changed

.github/workflows/zip.yml

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,10 @@ jobs:
4747
package-release:
4848
# Don't run on private repo.
4949
if: |
50+
false &&
5051
github.repository == 'firebase/firebase-ios-sdk' &&
5152
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 == ''
5354
runs-on: macos-14
5455
steps:
5556
- uses: actions/checkout@v4
@@ -78,9 +79,10 @@ jobs:
7879
build:
7980
# Don't run on private repo unless it is a PR.
8081
if: |
82+
false &&
8183
github.repository == 'firebase/firebase-ios-sdk' &&
8284
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 == ''
8486
runs-on: macos-14
8587
steps:
8688
- uses: actions/checkout@v4
@@ -124,7 +126,7 @@ jobs:
124126

125127
quickstart_framework_abtesting:
126128
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 != '') }}
128130
env:
129131
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
130132
SDK: "ABTesting"
@@ -141,7 +143,7 @@ jobs:
141143
uses: actions/[email protected]
142144
with:
143145
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 }}
145147
github-token: ${{ secrets.GITHUB_TOKEN }}
146148
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
147149
- name: Xcode
@@ -177,7 +179,7 @@ jobs:
177179

178180
quickstart_framework_auth:
179181
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 != '') }}
181183
env:
182184
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
183185
SDK: "Authentication"
@@ -195,7 +197,7 @@ jobs:
195197
uses: actions/[email protected]
196198
with:
197199
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 }}
199201
github-token: ${{ secrets.GITHUB_TOKEN }}
200202
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
201203
- name: Xcode
@@ -228,7 +230,7 @@ jobs:
228230

229231
quickstart_framework_config:
230232
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 != '') }}
232234
env:
233235
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
234236
SDK: "Config"
@@ -245,7 +247,7 @@ jobs:
245247
uses: actions/[email protected]
246248
with:
247249
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 }}
249251
github-token: ${{ secrets.GITHUB_TOKEN }}
250252
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
251253
- name: Xcode
@@ -277,7 +279,7 @@ jobs:
277279

278280
quickstart_framework_crashlytics:
279281
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 != '') }}
281283
env:
282284
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
283285
SDK: "Crashlytics"
@@ -294,7 +296,7 @@ jobs:
294296
uses: actions/[email protected]
295297
with:
296298
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 }}
298300
github-token: ${{ secrets.GITHUB_TOKEN }}
299301
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
300302
- name: Xcode
@@ -343,7 +345,7 @@ jobs:
343345

344346
quickstart_framework_database:
345347
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 != '') }}
347349
env:
348350
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
349351
SDK: "Database"
@@ -359,7 +361,7 @@ jobs:
359361
uses: actions/[email protected]
360362
with:
361363
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 }}
363365
github-token: ${{ secrets.GITHUB_TOKEN }}
364366
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
365367
- name: Xcode
@@ -395,7 +397,7 @@ jobs:
395397

396398
quickstart_framework_firestore:
397399
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 != '') }}
399401
env:
400402
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
401403
SDK: "Firestore"
@@ -412,7 +414,7 @@ jobs:
412414
uses: actions/[email protected]
413415
with:
414416
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 }}
416418
github-token: ${{ secrets.GITHUB_TOKEN }}
417419
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
418420
- name: Xcode
@@ -452,7 +454,7 @@ jobs:
452454

453455
check_framework_firestore_symbols:
454456
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 != '') }}
456458
env:
457459
FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
458460
runs-on: macos-14
@@ -464,7 +466,7 @@ jobs:
464466
uses: actions/[email protected]
465467
with:
466468
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 }}
468470
github-token: ${{ secrets.GITHUB_TOKEN }}
469471
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
470472
- name: Setup Bundler
@@ -484,7 +486,7 @@ jobs:
484486
485487
quickstart_framework_inappmessaging:
486488
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 != '') }}
488490
env:
489491
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
490492
SDK: "InAppMessaging"
@@ -501,7 +503,7 @@ jobs:
501503
uses: actions/[email protected]
502504
with:
503505
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 }}
505507
github-token: ${{ secrets.GITHUB_TOKEN }}
506508
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
507509
- name: Xcode
@@ -537,7 +539,7 @@ jobs:
537539

538540
quickstart_framework_messaging:
539541
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 != '') }}
541543
env:
542544
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
543545
SDK: "Messaging"
@@ -554,7 +556,7 @@ jobs:
554556
uses: actions/[email protected]
555557
with:
556558
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 }}
558560
github-token: ${{ secrets.GITHUB_TOKEN }}
559561
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
560562
- name: Xcode
@@ -590,7 +592,7 @@ jobs:
590592

591593
quickstart_framework_storage:
592594
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 != '') }}
594596
env:
595597
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
596598
SDK: "Storage"
@@ -607,7 +609,7 @@ jobs:
607609
uses: actions/[email protected]
608610
with:
609611
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 }}
611613
github-token: ${{ secrets.GITHUB_TOKEN }}
612614
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
613615
- name: Xcode

0 commit comments

Comments
 (0)