4141 run : |
4242 scripts/decrypt_gha_secret.sh scripts/gha-encrypted/oss-bot-access.txt.gpg \
4343 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"
4644 - name : Update SpecsTesting repo setup
4745 run : |
4846 ossbotaccess=`cat oss-bot-access.txt`
8684 path : ${{ env.local_sdk_repo_dir }}
8785 - name : Get token
8886 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 \
9088 bot-access.txt "$bot_token_secret"
9189 - name : Update SpecsTesting repo
9290 run : |
@@ -128,7 +126,7 @@ jobs:
128126 path : ${{ env.local_sdk_repo_dir }}
129127 - name : Get token
130128 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 \
132130 bot-access.txt "$bot_token_secret"
133131 - name : Update SpecsTesting repo
134132 run : |
@@ -168,7 +166,7 @@ jobs:
168166 run : |
169167 scripts/decrypt_gha_secret.sh scripts/gha-encrypted/oss-bot-access.txt.gpg \
170168 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 \
172170 bot-access.txt "$bot_token_secret"
173171 - name : Update SpecsTesting repo setup
174172 run : |
@@ -215,7 +213,7 @@ jobs:
215213 - uses : actions/checkout@v4
216214 - uses : ruby/setup-ruby@v1
217215 - 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 \
219217 bot-access.txt "$bot_token_secret"
220218 - name : Setup testing repo and quickstart
221219 env :
@@ -233,7 +231,8 @@ jobs:
233231 - name : Remove data before upload
234232 env :
235233 LEGACY : true
236- run : scripts/remove_data.sh config release_testing
234+ if : ${{ failure() }}
235+ run : scripts/remove_data.sh config
237236 - uses : actions/upload-artifact@v4
238237 if : ${{ failure() }}
239238 with :
@@ -253,7 +252,7 @@ jobs:
253252 - uses : actions/checkout@v4
254253 - uses : ruby/setup-ruby@v1
255254 - 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 \
257256 bot-access.txt "$bot_token_secret"
258257 - name : Setup testing repo and quickstart
259258 run : |
@@ -265,7 +264,8 @@ jobs:
265264 - name : Test swift quickstart
266265 run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Authentication false)
267266 - name : Remove data before upload
268- run : scripts/remove_data.sh authentication release_testing
267+ if : ${{ failure() }}
268+ run : scripts/remove_data.sh authentication
269269 - uses : actions/upload-artifact@v4
270270 if : ${{ failure() }}
271271 with :
@@ -287,7 +287,7 @@ jobs:
287287 - uses : actions/checkout@v4
288288 - uses : ruby/setup-ruby@v1
289289 - 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 \
291291 bot-access.txt "$bot_token_secret"
292292 - name : Setup testing repo and quickstart
293293 env :
@@ -314,7 +314,8 @@ jobs:
314314 - name : Remove data before upload
315315 env :
316316 LEGACY : true
317- run : scripts/remove_data.sh crashlytics release_testing
317+ if : ${{ failure() }}
318+ run : scripts/remove_data.sh crashlytics
318319 - uses : actions/upload-artifact@v4
319320 if : ${{ failure() }}
320321 with :
@@ -336,7 +337,7 @@ jobs:
336337 - uses : actions/checkout@v4
337338 - uses : ruby/setup-ruby@v1
338339 - 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 \
340341 bot-access.txt "$bot_token_secret"
341342 - name : Setup testing repo and quickstart
342343 run : |
@@ -350,7 +351,8 @@ jobs:
350351 - name : Test swift quickstart
351352 run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Database false swift)
352353 - name : Remove data before upload
353- run : scripts/remove_data.sh database release_testing
354+ if : ${{ failure() }}
355+ run : scripts/remove_data.sh database
354356 - uses : actions/upload-artifact@v4
355357 if : ${{ failure() }}
356358 with :
@@ -372,7 +374,7 @@ jobs:
372374 - uses : actions/checkout@v4
373375 - uses : ruby/setup-ruby@v1
374376 - 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 \
376378 bot-access.txt "$bot_token_secret"
377379 - name : Setup testing repo and quickstart
378380 run : |
@@ -392,7 +394,8 @@ jobs:
392394 if : ${{ always() }}
393395 run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh DynamicLinks true swift)
394396 - name : Remove data before upload
395- run : scripts/remove_data.sh dynamiclinks release_testing
397+ if : ${{ failure() }}
398+ run : scripts/remove_data.sh dynamiclinks
396399 - uses : actions/upload-artifact@v4
397400 if : ${{ failure() }}
398401 with :
@@ -414,7 +417,7 @@ jobs:
414417 - uses : actions/checkout@v4
415418 - uses : ruby/setup-ruby@v1
416419 - 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 \
418421 bot-access.txt "$bot_token_secret"
419422 - name : Setup testing repo and quickstart
420423 run : |
@@ -427,7 +430,8 @@ jobs:
427430 run : ([ -z $plist_secret ] ||
428431 scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Firestore false)
429432 - name : Remove data before upload
430- run : scripts/remove_data.sh firestore release_testing
433+ if : ${{ failure() }}
434+ run : scripts/remove_data.sh firestore
431435 - uses : actions/upload-artifact@v4
432436 if : ${{ failure() }}
433437 with :
@@ -452,7 +456,7 @@ jobs:
452456 # - uses: actions/checkout@v4
453457 # - uses: ruby/setup-ruby@v1
454458 # - 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 \
456460 # bot-access.txt "$bot_token_secret"
457461 # - name: Setup testing repo and quickstart
458462 # run: |
@@ -470,7 +474,8 @@ jobs:
470474 # run: ([ -z $plist_secret ] ||
471475 # scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Functions true swift)
472476 # - name: Remove data before upload
473- # run: scripts/remove_data.sh functions release_testing
477+ # if: ${{ failure() }}
478+ # run: scripts/remove_data.sh functions
474479 # - uses: actions/upload-artifact@v4
475480 # if: ${{ failure() }}
476481 # with:
@@ -492,7 +497,7 @@ jobs:
492497 - uses : actions/checkout@v4
493498 - uses : ruby/setup-ruby@v1
494499 - 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 \
496501 bot-access.txt "$bot_token_secret"
497502 - name : Setup testing repo and quickstart
498503 run : |
@@ -508,7 +513,8 @@ jobs:
508513 run : ([ -z $plist_secret ] ||
509514 scripts/third_party/travis/retry.sh scripts/test_quickstart.sh InAppMessaging true swift)
510515 - name : Remove data before upload
511- run : scripts/remove_data.sh inappmessaging release_testing
516+ if : ${{ failure() }}
517+ run : scripts/remove_data.sh inappmessaging
512518 - uses : actions/upload-artifact@v4
513519 if : ${{ failure() }}
514520 with :
@@ -530,7 +536,7 @@ jobs:
530536 - uses : actions/checkout@v4
531537 - uses : ruby/setup-ruby@v1
532538 - 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 \
534540 bot-access.txt "$bot_token_secret"
535541 - name : Setup testing repo and quickstart
536542 run : |
@@ -546,7 +552,8 @@ jobs:
546552 run : ([ -z $plist_secret ] ||
547553 scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Messaging false swift)
548554 - name : Remove data before upload
549- run : scripts/remove_data.sh messaging release_testing
555+ if : ${{ failure() }}
556+ run : scripts/remove_data.sh messaging
550557 - uses : actions/upload-artifact@v4
551558 if : ${{ failure() }}
552559 with :
@@ -566,7 +573,7 @@ jobs:
566573 - uses : actions/checkout@v4
567574 - uses : ruby/setup-ruby@v1
568575 - 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 \
570577 bot-access.txt "$bot_token_secret"
571578 - name : Setup testing repo and quickstart
572579 run : |
@@ -578,7 +585,8 @@ jobs:
578585 - name : Test Swift Quickstart
579586 run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Config true)
580587 - name : Remove data before upload
581- run : scripts/remove_data.sh config release_testing
588+ if : ${{ failure() }}
589+ run : scripts/remove_data.sh config
582590 - uses : actions/upload-artifact@v4
583591 if : ${{ failure() }}
584592 with :
@@ -601,7 +609,7 @@ jobs:
601609 - uses : actions/checkout@v4
602610 - uses : ruby/setup-ruby@v1
603611 - 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 \
605613 bot-access.txt "$bot_token_secret"
606614 - name : Setup testing repo and quickstart
607615 run : |
@@ -615,7 +623,8 @@ jobs:
615623 - name : Test swift quickstart
616624 run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Storage true swift)
617625 - name : Remove data before upload
618- run : scripts/remove_data.sh storage release_testing
626+ if : ${{ failure() }}
627+ run : scripts/remove_data.sh storage
619628 - uses : actions/upload-artifact@v4
620629 if : ${{ failure() }}
621630 with :
@@ -637,7 +646,7 @@ jobs:
637646 - uses : actions/checkout@v4
638647 - uses : ruby/setup-ruby@v1
639648 - 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 \
641650 bot-access.txt "$bot_token_secret"
642651 - name : Setup testing repo and quickstart
643652 run : |
@@ -652,7 +661,8 @@ jobs:
652661 - name : Test swift quickstart
653662 run : ([ -z $plist_secret ] || scripts/third_party/travis/retry.sh scripts/test_quickstart.sh Performance true swift)
654663 - name : Remove data before upload
655- run : scripts/remove_data.sh performance release_testing
664+ if : ${{ failure() }}
665+ run : scripts/remove_data.sh performance
656666 - uses : actions/upload-artifact@v4
657667 if : ${{ failure() }}
658668 with :
0 commit comments