Skip to content

Commit 8cb218e

Browse files
committed
d
1 parent 214795b commit 8cb218e

File tree

1 file changed

+97
-98
lines changed

1 file changed

+97
-98
lines changed

.github/workflows/zip.yml

Lines changed: 97 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -44,90 +44,89 @@ concurrency:
4444
cancel-in-progress: true
4545

4646
jobs:
47-
package-release:
48-
# Don't run on private repo.
49-
if: |
50-
false &&
51-
github.repository == 'firebase/firebase-ios-sdk' &&
52-
contains(fromJSON('["schedule", "pull_request", "workflow_dispatch"]'), github.event_name) &&
53-
github.event.inputs.zip_run_id == ''
54-
runs-on: macos-14
55-
steps:
56-
- uses: actions/checkout@v4
57-
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
58-
with:
59-
cache_key: package-release
60-
- name: Xcode 16.2
61-
run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
62-
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
63-
- name: Setup Bundler
64-
run: ./scripts/setup_bundler.sh
65-
- name: ZipBuildingTest
66-
run: |
67-
mkdir -p release_zip_dir
68-
sh -x scripts/build_zip.sh release_zip_dir \
69-
"${{ github.event.inputs.custom_spec_repos || 'https://github.com/firebase/SpecsStaging.git' }}" \
70-
build-release \
71-
static
72-
- uses: actions/upload-artifact@v4
73-
with:
74-
name: Firebase-release-zip-zip
75-
# Zip the entire output directory since the builder adds subdirectories we don't know the
76-
# name of.
77-
path: release_zip_dir
47+
# package-release:
48+
# # Don't run on private repo.
49+
# if: |
50+
# false &&
51+
# github.repository == 'firebase/firebase-ios-sdk' &&
52+
# contains(fromJSON('["schedule", "pull_request", "workflow_dispatch"]'), github.event_name) &&
53+
# github.event.inputs.zip_run_id == ''
54+
# runs-on: macos-14
55+
# steps:
56+
# - uses: actions/checkout@v4
57+
# - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
58+
# with:
59+
# cache_key: package-release
60+
# - name: Xcode 16.2
61+
# run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
62+
# - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
63+
# - name: Setup Bundler
64+
# run: ./scripts/setup_bundler.sh
65+
# - name: ZipBuildingTest
66+
# run: |
67+
# mkdir -p release_zip_dir
68+
# sh -x scripts/build_zip.sh release_zip_dir \
69+
# "${{ github.event.inputs.custom_spec_repos || 'https://github.com/firebase/SpecsStaging.git' }}" \
70+
# build-release \
71+
# static
72+
# - uses: actions/upload-artifact@v4
73+
# with:
74+
# name: Firebase-release-zip-zip
75+
# # Zip the entire output directory since the builder adds subdirectories we don't know the
76+
# # name of.
77+
# path: release_zip_dir
7878

79-
build:
80-
# Don't run on private repo unless it is a PR.
81-
if: |
82-
false &&
83-
github.repository == 'firebase/firebase-ios-sdk' &&
84-
contains(fromJSON('["schedule", "pull_request", "workflow_dispatch"]'), github.event_name) &&
85-
github.event.inputs.zip_run_id == ''
86-
runs-on: macos-14
87-
steps:
88-
- uses: actions/checkout@v4
89-
- name: Xcode 16.2
90-
run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
91-
- name: Build
92-
run: |
93-
cd ReleaseTooling
94-
swift build -v
79+
# build:
80+
# # Don't run on private repo unless it is a PR.
81+
# if: |
82+
# false &&
83+
# github.repository == 'firebase/firebase-ios-sdk' &&
84+
# contains(fromJSON('["schedule", "pull_request", "workflow_dispatch"]'), github.event_name) &&
85+
# github.event.inputs.zip_run_id == ''
86+
# runs-on: macos-14
87+
# steps:
88+
# - uses: actions/checkout@v4
89+
# - name: Xcode 16.2
90+
# run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
91+
# - name: Build
92+
# run: |
93+
# cd ReleaseTooling
94+
# swift build -v
9595

96-
package-head:
97-
needs: build
98-
strategy:
99-
matrix:
100-
linking_type: [static, dynamic]
101-
runs-on: macos-14
102-
steps:
103-
- uses: actions/checkout@v4
104-
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
105-
with:
106-
cache_key: package-head
107-
- name: Xcode 16.2
108-
run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
109-
- uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
110-
- name: Setup Bundler
111-
run: ./scripts/setup_bundler.sh
112-
- name: ZipBuildingTest
113-
run: |
114-
exit 0
115-
mkdir -p zip_output_dir
116-
sh -x scripts/build_zip.sh \
117-
zip_output_dir "${{ github.event.inputs.custom_spec_repos || 'https://github.com/firebase/SpecsStaging.git,https://github.com/firebase/SpecsDev.git' }}" \
118-
build-head \
119-
${{ matrix.linking_type }}
120-
- uses: actions/upload-artifact@v4
121-
if: ${{ always() }}
122-
with:
123-
name: ${{ matrix.linking_type == 'static' && 'Firebase-actions-dir' || 'Firebase-actions-dir-dynamic' }}
124-
# Zip the entire output directory since the builder adds subdirectories we don't know the
125-
# name of.
126-
path: zip_output_dir
96+
# package-head:
97+
# needs: build
98+
# strategy:
99+
# matrix:
100+
# linking_type: [static, dynamic]
101+
# runs-on: macos-14
102+
# steps:
103+
# - uses: actions/checkout@v4
104+
# - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
105+
# with:
106+
# cache_key: package-head
107+
# - name: Xcode 16.2
108+
# run: sudo xcode-select -s /Applications/Xcode_16.2.app/Contents/Developer
109+
# - uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1
110+
# - name: Setup Bundler
111+
# run: ./scripts/setup_bundler.sh
112+
# - name: ZipBuildingTest
113+
# run: |
114+
# mkdir -p zip_output_dir
115+
# sh -x scripts/build_zip.sh \
116+
# zip_output_dir "${{ github.event.inputs.custom_spec_repos || 'https://github.com/firebase/SpecsStaging.git,https://github.com/firebase/SpecsDev.git' }}" \
117+
# build-head \
118+
# ${{ matrix.linking_type }}
119+
# - uses: actions/upload-artifact@v4
120+
# if: ${{ always() }}
121+
# with:
122+
# name: ${{ matrix.linking_type == 'static' && 'Firebase-actions-dir' || 'Firebase-actions-dir-dynamic' }}
123+
# # Zip the entire output directory since the builder adds subdirectories we don't know the
124+
# # name of.
125+
# path: zip_output_dir
127126

128127
quickstart_framework_abtesting:
129-
needs: package-head
130-
if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
128+
# needs: package-head
129+
# if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
131130
env:
132131
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
133132
SDK: "ABTesting"
@@ -179,8 +178,8 @@ jobs:
179178
# path: quickstart-ios/
180179

181180
quickstart_framework_auth:
182-
needs: package-head
183-
if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
181+
# needs: package-head
182+
# if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
184183
env:
185184
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
186185
SDK: "Authentication"
@@ -230,8 +229,8 @@ jobs:
230229
# path: quickstart-ios/
231230

232231
quickstart_framework_config:
233-
needs: package-head
234-
if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
232+
# needs: package-head
233+
# if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
235234
env:
236235
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
237236
SDK: "Config"
@@ -279,8 +278,8 @@ jobs:
279278
# path: quickstart-ios/
280279

281280
quickstart_framework_crashlytics:
282-
needs: package-head
283-
if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
281+
# needs: package-head
282+
# if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
284283
env:
285284
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
286285
SDK: "Crashlytics"
@@ -345,8 +344,8 @@ jobs:
345344
# path: quickstart-ios/
346345

347346
quickstart_framework_database:
348-
needs: package-head
349-
if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
347+
# needs: package-head
348+
# if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
350349
env:
351350
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
352351
SDK: "Database"
@@ -397,8 +396,8 @@ jobs:
397396
# path: quickstart-ios/
398397

399398
quickstart_framework_firestore:
400-
needs: package-head
401-
if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
399+
# needs: package-head
400+
# if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
402401
env:
403402
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
404403
SDK: "Firestore"
@@ -454,8 +453,8 @@ jobs:
454453
# path: quickstart_artifacts_firestore.zip
455454

456455
check_framework_firestore_symbols:
457-
needs: package-head
458-
if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
456+
# needs: package-head
457+
# if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
459458
env:
460459
FIREBASECI_USE_LATEST_GOOGLEAPPMEASUREMENT: 1
461460
runs-on: macos-14
@@ -486,8 +485,8 @@ jobs:
486485
"${HOME}"/ios_frameworks/Firebase/FirebaseFirestore/FirebaseFirestoreInternal.xcframework
487486
488487
quickstart_framework_inappmessaging:
489-
needs: package-head
490-
if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
488+
# needs: package-head
489+
# if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
491490
env:
492491
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
493492
SDK: "InAppMessaging"
@@ -539,8 +538,8 @@ jobs:
539538
# path: quickstart-ios/
540539

541540
quickstart_framework_messaging:
542-
needs: package-head
543-
if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
541+
# needs: package-head
542+
# if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
544543
env:
545544
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
546545
SDK: "Messaging"
@@ -592,8 +591,8 @@ jobs:
592591
# path: quickstart-ios/
593592

594593
quickstart_framework_storage:
595-
needs: package-head
596-
if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
594+
# needs: package-head
595+
# if: ${{ !cancelled() && (success() || github.event.inputs.zip_run_id != '') }}
597596
env:
598597
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
599598
SDK: "Storage"

0 commit comments

Comments
 (0)