Skip to content

Commit 84f15f1

Browse files
committed
Revert "Temporarily disable zip build to verify quickstarts"
This reverts commit 69df777.
1 parent 0d23f5c commit 84f15f1

File tree

1 file changed

+68
-68
lines changed

1 file changed

+68
-68
lines changed

.github/workflows/zip.yml

Lines changed: 68 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -27,33 +27,33 @@ concurrency:
2727
cancel-in-progress: true
2828

2929
jobs:
30-
# package-release:
31-
# # Don't run on private repo.
32-
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
33-
# runs-on: macos-13
34-
# steps:
35-
# - uses: actions/checkout@v4
36-
# - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
37-
# with:
38-
# cache_key: package-release
39-
# - name: Xcode 15.2
40-
# run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
41-
# - uses: ruby/setup-ruby@v1
42-
# - name: Setup Bundler
43-
# run: ./scripts/setup_bundler.sh
44-
# - name: ZipBuildingTest
45-
# run: |
46-
# mkdir -p release_zip_dir
47-
# sh -x scripts/build_zip.sh release_zip_dir \
48-
# "${{ github.event.inputs.custom_spec_repos || 'https://github.com/firebase/SpecsStaging.git' }}" \
49-
# build-release \
50-
# static
51-
# - uses: actions/upload-artifact@v4
52-
# with:
53-
# name: Firebase-release-zip-zip
54-
# # Zip the entire output directory since the builder adds subdirectories we don't know the
55-
# # name of.
56-
# path: release_zip_dir
30+
package-release:
31+
# Don't run on private repo.
32+
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
33+
runs-on: macos-13
34+
steps:
35+
- uses: actions/checkout@v4
36+
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
37+
with:
38+
cache_key: package-release
39+
- name: Xcode 15.2
40+
run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
41+
- uses: ruby/setup-ruby@v1
42+
- name: Setup Bundler
43+
run: ./scripts/setup_bundler.sh
44+
- name: ZipBuildingTest
45+
run: |
46+
mkdir -p release_zip_dir
47+
sh -x scripts/build_zip.sh release_zip_dir \
48+
"${{ github.event.inputs.custom_spec_repos || 'https://github.com/firebase/SpecsStaging.git' }}" \
49+
build-release \
50+
static
51+
- uses: actions/upload-artifact@v4
52+
with:
53+
name: Firebase-release-zip-zip
54+
# Zip the entire output directory since the builder adds subdirectories we don't know the
55+
# name of.
56+
path: release_zip_dir
5757

5858
build:
5959
# Don't run on private repo unless it is a PR.
@@ -68,42 +68,42 @@ jobs:
6868
cd ReleaseTooling
6969
swift build -v
7070
71-
# package-head:
72-
# # Don't run on private repo.
73-
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
74-
# needs: build
75-
# strategy:
76-
# matrix:
77-
# linking_type: [static, dynamic]
78-
# runs-on: macos-13
79-
# steps:
80-
# - uses: actions/checkout@v4
81-
# - uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
82-
# with:
83-
# cache_key: package-head
84-
# - name: Xcode 15.2
85-
# run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
86-
# - uses: ruby/setup-ruby@v1
87-
# - name: Setup Bundler
88-
# run: ./scripts/setup_bundler.sh
89-
# - name: ZipBuildingTest
90-
# run: |
91-
# mkdir -p zip_output_dir
92-
# sh -x scripts/build_zip.sh \
93-
# zip_output_dir "${{ github.event.inputs.custom_spec_repos || 'https://github.com/firebase/SpecsStaging.git,https://github.com/firebase/SpecsDev.git' }}" \
94-
# build-head \
95-
# ${{ matrix.linking_type }}
96-
# - uses: actions/upload-artifact@v4
97-
# if: ${{ always() }}
98-
# with:
99-
# name: ${{ matrix.linking_type == 'static' && 'Firebase-actions-dir' || 'Firebase-actions-dir-dynamic' }}
100-
# # Zip the entire output directory since the builder adds subdirectories we don't know the
101-
# # name of.
102-
# path: zip_output_dir
71+
package-head:
72+
# Don't run on private repo.
73+
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
74+
needs: build
75+
strategy:
76+
matrix:
77+
linking_type: [static, dynamic]
78+
runs-on: macos-13
79+
steps:
80+
- uses: actions/checkout@v4
81+
- uses: mikehardy/buildcache-action@c87cea0ccd718971d6cc39e672c4f26815b6c126
82+
with:
83+
cache_key: package-head
84+
- name: Xcode 15.2
85+
run: sudo xcode-select -s /Applications/Xcode_15.2.app/Contents/Developer
86+
- uses: ruby/setup-ruby@v1
87+
- name: Setup Bundler
88+
run: ./scripts/setup_bundler.sh
89+
- name: ZipBuildingTest
90+
run: |
91+
mkdir -p zip_output_dir
92+
sh -x scripts/build_zip.sh \
93+
zip_output_dir "${{ github.event.inputs.custom_spec_repos || 'https://github.com/firebase/SpecsStaging.git,https://github.com/firebase/SpecsDev.git' }}" \
94+
build-head \
95+
${{ matrix.linking_type }}
96+
- uses: actions/upload-artifact@v4
97+
if: ${{ always() }}
98+
with:
99+
name: ${{ matrix.linking_type == 'static' && 'Firebase-actions-dir' || 'Firebase-actions-dir-dynamic' }}
100+
# Zip the entire output directory since the builder adds subdirectories we don't know the
101+
# name of.
102+
path: zip_output_dir
103103

104104
quickstart_framework_abtesting:
105105
# Don't run on private repo.
106-
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
106+
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
107107
needs: package-head
108108
env:
109109
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -165,7 +165,7 @@ jobs:
165165

166166
quickstart_framework_auth:
167167
# Don't run on private repo.
168-
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
168+
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
169169
needs: package-head
170170
env:
171171
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -217,7 +217,7 @@ jobs:
217217

218218
quickstart_framework_config:
219219
# Don't run on private repo.
220-
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
220+
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
221221
needs: package-head
222222
env:
223223
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -269,7 +269,7 @@ jobs:
269269

270270
quickstart_framework_crashlytics:
271271
# Don't run on private repo.
272-
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
272+
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
273273
needs: package-head
274274
env:
275275
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -396,7 +396,7 @@ jobs:
396396

397397
quickstart_framework_dynamiclinks:
398398
# Don't run on private repo.
399-
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
399+
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
400400
needs: package-head
401401
env:
402402
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -456,7 +456,7 @@ jobs:
456456

457457
quickstart_framework_firestore:
458458
# Don't run on private repo.
459-
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
459+
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
460460
needs: package-head
461461
env:
462462
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -541,7 +541,7 @@ jobs:
541541
542542
quickstart_framework_inappmessaging:
543543
# Don't run on private repo.
544-
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
544+
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
545545
needs: package-head
546546
env:
547547
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -598,7 +598,7 @@ jobs:
598598

599599
quickstart_framework_messaging:
600600
# Don't run on private repo.
601-
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
601+
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
602602
needs: package-head
603603
env:
604604
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -654,7 +654,7 @@ jobs:
654654

655655
quickstart_framework_storage:
656656
# Don't run on private repo.
657-
# if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
657+
if: (github.repository == 'Firebase/firebase-ios-sdk' && github.event_name == 'schedule') || github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch'
658658
needs: package-head
659659
env:
660660
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}

0 commit comments

Comments
 (0)