41
41
run : |
42
42
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/oss-bot-access.txt.gpg \
43
43
oss-bot-access.txt "$bot_token_secret"
44
- scripts/decrypt_gha_secret.sh scripts/gha-encrypted/bot-access.txt.gpg \
45
- bot-access.txt "$bot_token_secret"
46
44
- name : Update SpecsTesting repo setup
47
45
run : |
48
46
ossbotaccess=`cat oss-bot-access.txt`
86
84
path : ${{ env.local_sdk_repo_dir }}
87
85
- name : Get token
88
86
run : |
89
- scripts/decrypt_gha_secret.sh scripts/gha-encrypted/bot-access .txt.gpg \
87
+ scripts/decrypt_gha_secret.sh scripts/gha-encrypted/prerelease-testing-token .txt.gpg \
90
88
bot-access.txt "$bot_token_secret"
91
89
- name : Update SpecsTesting repo
92
90
run : |
@@ -128,7 +126,7 @@ jobs:
128
126
path : ${{ env.local_sdk_repo_dir }}
129
127
- name : Get token
130
128
run : |
131
- scripts/decrypt_gha_secret.sh scripts/gha-encrypted/bot-access .txt.gpg \
129
+ scripts/decrypt_gha_secret.sh scripts/gha-encrypted/prerelease-testing-token .txt.gpg \
132
130
bot-access.txt "$bot_token_secret"
133
131
- name : Update SpecsTesting repo
134
132
run : |
@@ -168,7 +166,7 @@ jobs:
168
166
run : |
169
167
scripts/decrypt_gha_secret.sh scripts/gha-encrypted/oss-bot-access.txt.gpg \
170
168
oss-bot-access.txt "$bot_token_secret"
171
- scripts/decrypt_gha_secret.sh scripts/gha-encrypted/bot-access .txt.gpg \
169
+ scripts/decrypt_gha_secret.sh scripts/gha-encrypted/prerelease-testing-token .txt.gpg \
172
170
bot-access.txt "$bot_token_secret"
173
171
- name : Update SpecsTesting repo setup
174
172
run : |
@@ -215,7 +213,7 @@ jobs:
215
213
- uses : actions/checkout@v4
216
214
- uses : ruby/setup-ruby@v1
217
215
- name : Get token
218
- run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/bot-access .txt.gpg \
216
+ run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/prerelease-testing-token .txt.gpg \
219
217
bot-access.txt "$bot_token_secret"
220
218
- name : Setup testing repo and quickstart
221
219
env :
@@ -233,7 +231,8 @@ jobs:
233
231
- name : Remove data before upload
234
232
env :
235
233
LEGACY : true
236
- run : scripts/remove_data.sh config release_testing
234
+ if : ${{ failure() }}
235
+ run : scripts/remove_data.sh config
237
236
- uses : actions/upload-artifact@v4
238
237
if : ${{ failure() }}
239
238
with :
@@ -253,7 +252,7 @@ jobs:
253
252
- uses : actions/checkout@v4
254
253
- uses : ruby/setup-ruby@v1
255
254
- name : Get token
256
- run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/bot-access .txt.gpg \
255
+ run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/prerelease-testing-token .txt.gpg \
257
256
bot-access.txt "$bot_token_secret"
258
257
- name : Setup testing repo and quickstart
259
258
run : |
@@ -265,7 +264,8 @@ jobs:
265
264
- name : Test swift quickstart
266
265
run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Authentication false)
267
266
- name : Remove data before upload
268
- run : scripts/remove_data.sh authentication release_testing
267
+ if : ${{ failure() }}
268
+ run : scripts/remove_data.sh authentication
269
269
- uses : actions/upload-artifact@v4
270
270
if : ${{ failure() }}
271
271
with :
@@ -287,7 +287,7 @@ jobs:
287
287
- uses : actions/checkout@v4
288
288
- uses : ruby/setup-ruby@v1
289
289
- name : Get token
290
- run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/bot-access .txt.gpg \
290
+ run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/prerelease-testing-token .txt.gpg \
291
291
bot-access.txt "$bot_token_secret"
292
292
- name : Setup testing repo and quickstart
293
293
env :
@@ -314,7 +314,8 @@ jobs:
314
314
- name : Remove data before upload
315
315
env :
316
316
LEGACY : true
317
- run : scripts/remove_data.sh crashlytics release_testing
317
+ if : ${{ failure() }}
318
+ run : scripts/remove_data.sh crashlytics
318
319
- uses : actions/upload-artifact@v4
319
320
if : ${{ failure() }}
320
321
with :
@@ -336,7 +337,7 @@ jobs:
336
337
- uses : actions/checkout@v4
337
338
- uses : ruby/setup-ruby@v1
338
339
- name : Get token
339
- run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/bot-access .txt.gpg \
340
+ run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/prerelease-testing-token .txt.gpg \
340
341
bot-access.txt "$bot_token_secret"
341
342
- name : Setup testing repo and quickstart
342
343
run : |
@@ -350,7 +351,8 @@ jobs:
350
351
- name : Test swift quickstart
351
352
run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database false swift)
352
353
- name : Remove data before upload
353
- run : scripts/remove_data.sh database release_testing
354
+ if : ${{ failure() }}
355
+ run : scripts/remove_data.sh database
354
356
- uses : actions/upload-artifact@v4
355
357
if : ${{ failure() }}
356
358
with :
@@ -372,7 +374,7 @@ jobs:
372
374
- uses : actions/checkout@v4
373
375
- uses : ruby/setup-ruby@v1
374
376
- name : Get token
375
- run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/bot-access .txt.gpg \
377
+ run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/prerelease-testing-token .txt.gpg \
376
378
bot-access.txt "$bot_token_secret"
377
379
- name : Setup testing repo and quickstart
378
380
run : |
@@ -392,7 +394,8 @@ jobs:
392
394
if : ${{ always() }}
393
395
run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh DynamicLinks true swift)
394
396
- name : Remove data before upload
395
- run : scripts/remove_data.sh dynamiclinks release_testing
397
+ if : ${{ failure() }}
398
+ run : scripts/remove_data.sh dynamiclinks
396
399
- uses : actions/upload-artifact@v4
397
400
if : ${{ failure() }}
398
401
with :
@@ -414,7 +417,7 @@ jobs:
414
417
- uses : actions/checkout@v4
415
418
- uses : ruby/setup-ruby@v1
416
419
- name : Get token
417
- run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/bot-access .txt.gpg \
420
+ run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/prerelease-testing-token .txt.gpg \
418
421
bot-access.txt "$bot_token_secret"
419
422
- name : Setup testing repo and quickstart
420
423
run : |
@@ -427,7 +430,8 @@ jobs:
427
430
run : ([ -z $plist_secret ] ||
428
431
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Firestore false)
429
432
- name : Remove data before upload
430
- run : scripts/remove_data.sh firestore release_testing
433
+ if : ${{ failure() }}
434
+ run : scripts/remove_data.sh firestore
431
435
- uses : actions/upload-artifact@v4
432
436
if : ${{ failure() }}
433
437
with :
@@ -452,7 +456,7 @@ jobs:
452
456
# - uses: actions/checkout@v4
453
457
# - uses: ruby/setup-ruby@v1
454
458
# - name: Get token
455
- # run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/bot-access .txt.gpg \
459
+ # run: scripts/decrypt_gha_secret.sh scripts/gha-encrypted/prerelease-testing-token .txt.gpg \
456
460
# bot-access.txt "$bot_token_secret"
457
461
# - name: Setup testing repo and quickstart
458
462
# run: |
@@ -470,7 +474,8 @@ jobs:
470
474
# run: ([ -z $plist_secret ] ||
471
475
# scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Functions true swift)
472
476
# - name: Remove data before upload
473
- # run: scripts/remove_data.sh functions release_testing
477
+ # if: ${{ failure() }}
478
+ # run: scripts/remove_data.sh functions
474
479
# - uses: actions/upload-artifact@v4
475
480
# if: ${{ failure() }}
476
481
# with:
@@ -492,7 +497,7 @@ jobs:
492
497
- uses : actions/checkout@v4
493
498
- uses : ruby/setup-ruby@v1
494
499
- name : Get token
495
- run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/bot-access .txt.gpg \
500
+ run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/prerelease-testing-token .txt.gpg \
496
501
bot-access.txt "$bot_token_secret"
497
502
- name : Setup testing repo and quickstart
498
503
run : |
@@ -508,7 +513,8 @@ jobs:
508
513
run : ([ -z $plist_secret ] ||
509
514
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh InAppMessaging true swift)
510
515
- name : Remove data before upload
511
- run : scripts/remove_data.sh inappmessaging release_testing
516
+ if : ${{ failure() }}
517
+ run : scripts/remove_data.sh inappmessaging
512
518
- uses : actions/upload-artifact@v4
513
519
if : ${{ failure() }}
514
520
with :
@@ -530,7 +536,7 @@ jobs:
530
536
- uses : actions/checkout@v4
531
537
- uses : ruby/setup-ruby@v1
532
538
- name : Get token
533
- run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/bot-access .txt.gpg \
539
+ run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/prerelease-testing-token .txt.gpg \
534
540
bot-access.txt "$bot_token_secret"
535
541
- name : Setup testing repo and quickstart
536
542
run : |
@@ -546,7 +552,8 @@ jobs:
546
552
run : ([ -z $plist_secret ] ||
547
553
scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Messaging false swift)
548
554
- name : Remove data before upload
549
- run : scripts/remove_data.sh messaging release_testing
555
+ if : ${{ failure() }}
556
+ run : scripts/remove_data.sh messaging
550
557
- uses : actions/upload-artifact@v4
551
558
if : ${{ failure() }}
552
559
with :
@@ -566,7 +573,7 @@ jobs:
566
573
- uses : actions/checkout@v4
567
574
- uses : ruby/setup-ruby@v1
568
575
- name : Get token
569
- run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/bot-access .txt.gpg \
576
+ run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/prerelease-testing-token .txt.gpg \
570
577
bot-access.txt "$bot_token_secret"
571
578
- name : Setup testing repo and quickstart
572
579
run : |
@@ -578,7 +585,8 @@ jobs:
578
585
- name : Test Swift Quickstart
579
586
run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Config true)
580
587
- name : Remove data before upload
581
- run : scripts/remove_data.sh config release_testing
588
+ if : ${{ failure() }}
589
+ run : scripts/remove_data.sh config
582
590
- uses : actions/upload-artifact@v4
583
591
if : ${{ failure() }}
584
592
with :
@@ -601,7 +609,7 @@ jobs:
601
609
- uses : actions/checkout@v4
602
610
- uses : ruby/setup-ruby@v1
603
611
- name : Get token
604
- run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/bot-access .txt.gpg \
612
+ run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/prerelease-testing-token .txt.gpg \
605
613
bot-access.txt "$bot_token_secret"
606
614
- name : Setup testing repo and quickstart
607
615
run : |
@@ -615,7 +623,8 @@ jobs:
615
623
- name : Test swift quickstart
616
624
run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Storage true swift)
617
625
- name : Remove data before upload
618
- run : scripts/remove_data.sh storage release_testing
626
+ if : ${{ failure() }}
627
+ run : scripts/remove_data.sh storage
619
628
- uses : actions/upload-artifact@v4
620
629
if : ${{ failure() }}
621
630
with :
@@ -637,7 +646,7 @@ jobs:
637
646
- uses : actions/checkout@v4
638
647
- uses : ruby/setup-ruby@v1
639
648
- name : Get token
640
- run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/bot-access .txt.gpg \
649
+ run : scripts/decrypt_gha_secret.sh scripts/gha-encrypted/prerelease-testing-token .txt.gpg \
641
650
bot-access.txt "$bot_token_secret"
642
651
- name : Setup testing repo and quickstart
643
652
run : |
@@ -652,7 +661,8 @@ jobs:
652
661
- name : Test swift quickstart
653
662
run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Performance true swift)
654
663
- name : Remove data before upload
655
- run : scripts/remove_data.sh performance release_testing
664
+ if : ${{ failure() }}
665
+ run : scripts/remove_data.sh performance
656
666
- uses : actions/upload-artifact@v4
657
667
if : ${{ failure() }}
658
668
with :
0 commit comments