Skip to content

Commit bc80c80

Browse files
committed
(pre)release workflow
1 parent b594326 commit bc80c80

File tree

3 files changed

+5
-54
lines changed

3 files changed

+5
-54
lines changed

.github/workflows/common_quickstart.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,14 +88,9 @@ jobs:
8888
max_attempts: 3
8989
retry_wait_seconds: 120
9090
command: |
91-
SPM=true DIR=${{ inputs.product }} scripts/test_quickstart.sh ${{ inputs.product }} false
92-
# command: |
93-
# SPM=true DIR=${{ inputs.product }} scripts/test_quickstart.sh ${{ inputs.product }} ${{ inputs.run_tests }}
94-
# scripts/test_quickstart.sh \
95-
# ${{ inputs.product }} \
96-
# ${{ inputs.run_tests }} \
97-
# ${{ inputs.quickstart_type }}
98-
91+
SPM=true DIR=${{ inputs.product }} scripts/test_quickstart.sh \
92+
${{ inputs.product }} \
93+
${{ inputs.run_tests }} \
9994
# Failure sequence to upload artifact.
10095
# - id: lowercase_product
10196
# if: ${{ failure() }}

.github/workflows/prerelease.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -262,36 +262,24 @@ jobs:
262262
include:
263263
- product: Performance
264264
run_tests: true
265-
swift: true
266265
- product: Storage
267266
is_legacy: true
268267
run_tests: true
269-
swift: true
270268
- product: Config
271269
run_tests: true
272-
objc: true
273270
- product: Messaging
274271
run_tests: false
275-
swift: true
276-
objc: true
277272
- product: InAppMessaging
278273
run_tests: true
279-
swift: true
280-
objc: true
281274
- product: Firestore
282275
run_tests: false
283276
- product: Database
284277
run_tests: false
285-
swift: true
286-
objc: true
287278
- product: Authentication
288279
run_tests: false
289-
objc: true
290280
- product: Crashlytics
291281
is_legacy: true
292282
run_tests: true
293-
objc: false
294-
swift: true
295283
setup_command: |
296284
mkdir -p quickstart-ios/crashlytics/LegacyCrashlyticsQuickstart/Pods/FirebaseCrashlytics
297285
# Set the deployed pod location of run and upload-symbols with the development pod version.
@@ -300,7 +288,6 @@ jobs:
300288
- product: ABTesting
301289
is_legacy: true
302290
run_tests: true
303-
objc: true
304291
env:
305292
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
306293
botaccess: ${{ secrets.PRERELEASE_TESTING_PAT }}
@@ -322,16 +309,7 @@ jobs:
322309
- name: Run setup command, if needed.
323310
if: matrix.setup_command != ''
324311
run: ${{ matrix.setup_command }}
325-
- name: Build Swift quickstart
326-
if: matrix.swift == true
327-
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
328-
with:
329-
timeout_minutes: 15
330-
max_attempts: 3
331-
retry_wait_seconds: 120
332-
command: scripts/test_quickstart.sh ${{ matrix.product }} ${{ matrix.run_tests }} swift
333-
- name: Build Obj-C quickstart
334-
if: matrix.objc == true
312+
- name: Build Quickstart
335313
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
336314
with:
337315
timeout_minutes: 15

.github/workflows/release.yml

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -162,35 +162,23 @@ jobs:
162162
include:
163163
- product: Performance
164164
run_tests: true
165-
swift: true
166165
- product: Storage
167166
run_tests: true
168-
swift: true
169167
is_legacy: true
170168
- product: Config
171169
run_tests: true
172-
objc: true
173170
- product: Messaging
174171
run_tests: false
175-
objc: true
176-
swift: true
177172
- product: InAppMessaging
178173
run_tests: true
179-
objc: true
180-
swift: true
181174
- product: Firestore
182175
run_tests: false
183-
objc: true
184176
- product: Database
185177
run_tests: false
186-
objc: true
187-
swift: true
188178
- product: Authentication
189179
run_tests: false
190-
objc: true
191180
- product: Crashlytics
192181
run_tests: true
193-
swift: true
194182
is_legacy: true
195183
setup_command: |
196184
mkdir -p quickstart-ios/crashlytics/LegacyCrashlyticsQuickstart/Pods/FirebaseCrashlytics
@@ -199,7 +187,6 @@ jobs:
199187
cp Crashlytics/upload-symbols quickstart-ios/crashlytics/LegacyCrashlyticsQuickstart/Pods/FirebaseCrashlytics/
200188
- product: ABTesting
201189
run_tests: true
202-
objc: true
203190
is_legacy: true
204191
env:
205192
plist_secret: ${{ secrets.GHASecretsGPGPassphrase1 }}
@@ -220,22 +207,13 @@ jobs:
220207
- name: Run setup command, if needed.
221208
if: matrix.setup_command != ''
222209
run: ${{ matrix.setup_command }}
223-
- name: Build Obj-C quickstart
224-
if: matrix.objc == true
210+
- name: Build Quickstart
225211
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
226212
with:
227213
timeout_minutes: 15
228214
max_attempts: 3
229215
retry_wait_seconds: 120
230216
command: scripts/test_quickstart.sh ${{ matrix.product }} ${{ matrix.run_tests }}
231-
- name: Build Swift quickstart
232-
if: matrix.swift == true
233-
uses: nick-fields/retry@ce71cc2ab81d554ebbe88c79ab5975992d79ba08 # v3
234-
with:
235-
timeout_minutes: 15
236-
max_attempts: 3
237-
retry_wait_seconds: 120
238-
command: scripts/test_quickstart.sh ${{ matrix.product }} ${{ matrix.run_tests }} swift
239217
- name: Remove data before upload
240218
if: ${{ failure() }}
241219
run: scripts/remove_data.sh ${{ matrix.product }}

0 commit comments

Comments
 (0)