Skip to content

Commit a6e438c

Browse files
committed
Automate Release zip build
1 parent bb3b957 commit a6e438c

File tree

1 file changed

+15
-11
lines changed

1 file changed

+15
-11
lines changed

.github/workflows/zip.yml

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,22 @@ jobs:
2727
runs-on: macOS-latest
2828
steps:
2929
- uses: actions/checkout@v2
30+
- name: Xcode 12.2
31+
run: sudo xcode-select -s /Applications/Xcode_12.2.app/Contents/Developer
3032
- name: Build
3133
run: |
3234
cd ReleaseTooling
3335
swift build -v
3436
3537
package:
3638
# Don't run on private repo.
37-
if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
39+
# if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
3840
needs: build
3941
runs-on: macOS-latest
4042
steps:
4143
- uses: actions/checkout@v2
44+
- name: Xcode 12.2
45+
run: sudo xcode-select -s /Applications/Xcode_12.2.app/Contents/Developer
4246
- name: Setup Bundler
4347
run: ./scripts/setup_bundler.sh
4448
- name: ZipBuildingTest
@@ -54,7 +58,7 @@ jobs:
5458

5559
quickstart_framework_abtesting:
5660
# Don't run on private repo.
57-
if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
61+
# if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
5862
needs: package
5963
env:
6064
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -99,7 +103,7 @@ jobs:
99103

100104
quickstart_framework_auth:
101105
# Don't run on private repo.
102-
if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
106+
# if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
103107
needs: package
104108
env:
105109
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -143,7 +147,7 @@ jobs:
143147

144148
quickstart_framework_config:
145149
# Don't run on private repo.
146-
if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
150+
# if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
147151
needs: package
148152
env:
149153
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -184,7 +188,7 @@ jobs:
184188

185189
quickstart_framework_crashlytics:
186190
# Don't run on private repo.
187-
if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
191+
# if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
188192
needs: package
189193
env:
190194
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -234,7 +238,7 @@ jobs:
234238

235239
quickstart_framework_database:
236240
# Don't run on private repo.
237-
if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
241+
# if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
238242
needs: package
239243
env:
240244
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -279,7 +283,7 @@ jobs:
279283

280284
quickstart_framework_dynamiclinks:
281285
# Don't run on private repo.
282-
if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
286+
# if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
283287
needs: package
284288
env:
285289
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -329,7 +333,7 @@ jobs:
329333

330334
quickstart_framework_firestore:
331335
# Don't run on private repo.
332-
if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
336+
# if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
333337
needs: package
334338
env:
335339
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -372,7 +376,7 @@ jobs:
372376

373377
quickstart_framework_inappmessaging:
374378
# Don't run on private repo.
375-
if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
379+
# if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
376380
needs: package
377381
env:
378382
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -418,7 +422,7 @@ jobs:
418422

419423
quickstart_framework_messaging:
420424
# Don't run on private repo.
421-
if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
425+
# if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
422426
needs: package
423427
env:
424428
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -463,7 +467,7 @@ jobs:
463467

464468
quickstart_framework_storage:
465469
# Don't run on private repo.
466-
if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
470+
# if: (github.event_name == 'schedule' && github.repository == 'Firebase/firebase-ios-sdk') || github.event_name == 'workflow_dispatch'
467471
needs: package
468472
env:
469473
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}

0 commit comments

Comments
 (0)