Skip to content

Commit 313310a

Browse files
committed
move setup cmd
1 parent 55e942f commit 313310a

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/prerelease.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,11 @@ jobs:
310310
run_tests: true
311311
objc: false
312312
swift: true
313+
setup_command: |
314+
mkdir -p quickstart-ios/crashlytics/LegacyCrashlyticsQuickstart/Pods/FirebaseCrashlytics
315+
# Set the deployed pod location of run and upload-symbols with the development pod version.
316+
cp Crashlytics/run quickstart-ios/crashlytics/LegacyCrashlyticsQuickstart/Pods/FirebaseCrashlytics/
317+
cp Crashlytics/upload-symbols quickstart-ios/crashlytics/LegacyCrashlyticsQuickstart/Pods/FirebaseCrashlytics/
313318
- product: ABTesting
314319
plist_src_path: scripts/gha-encrypted/qs-abtesting.plist.gpg
315320
plist_dst_path: quickstart-ios/abtesting/GoogleService-Info.plist
@@ -337,13 +342,9 @@ jobs:
337342
prerelease_testing
338343
- name: Install Secret GoogleService-Info.plist
339344
run: scripts/decrypt_gha_secret.sh ${{ matrix.plist_src_path }} ${{ matrix.plist_dst_path }} "$plist_secret"
340-
- name: Setup
341-
if: matrix.product == "Crashlytics"
342-
run: |
343-
mkdir -p quickstart-ios/crashlytics/LegacyCrashlyticsQuickstart/Pods/FirebaseCrashlytics
344-
# Set the deployed pod location of run and upload-symbols with the development pod version.
345-
cp Crashlytics/run quickstart-ios/crashlytics/LegacyCrashlyticsQuickstart/Pods/FirebaseCrashlytics/
346-
cp Crashlytics/upload-symbols quickstart-ios/crashlytics/LegacyCrashlyticsQuickstart/Pods/FirebaseCrashlytics/
345+
- name: Run setup command, if needed.
346+
if: matrix.setup_command != ''
347+
run: ${{ matrix.setup_command }}
347348
- name: Test Swift quickstart
348349
if: matrix.swift == true
349350
run: |

0 commit comments

Comments
 (0)