|
50 | 50 | triggerLabelQuick: "tests-requested: quick"
|
51 | 51 | pythonVersion: '3.8'
|
52 | 52 | xcodeVersion: '16.2'
|
53 |
| - artifactRetentionDays: 2 |
| 53 | + logArtifactRetentionDays: 90 |
| 54 | + binaryArtifactRetentionDays: 7 |
54 | 55 | GITHUB_TOKEN: ${{ github.token }}
|
55 | 56 |
|
56 | 57 | jobs:
|
@@ -376,14 +377,14 @@ jobs:
|
376 | 377 | with:
|
377 | 378 | name: testapps-desktop-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.ssl_variant }}
|
378 | 379 | path: testapps-desktop-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.ssl_variant }}
|
379 |
| - retention-days: ${{ env.artifactRetentionDays }} |
| 380 | + retention-days: ${{ env.binaryArtifactRetentionDays }} |
380 | 381 | - name: Upload Desktop build results artifact
|
381 | 382 | uses: actions/upload-artifact@v4
|
382 | 383 | if: ${{ !cancelled() }}
|
383 | 384 | with:
|
384 | 385 | name: log-artifact-build-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.ssl_variant }}
|
385 | 386 | path: build-results-desktop-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.ssl_variant }}*
|
386 |
| - retention-days: ${{ env.artifactRetentionDays }} |
| 387 | + retention-days: ${{ env.logArtifactRetentionDays }} |
387 | 388 | - name: Download log artifacts
|
388 | 389 | if: ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
|
389 | 390 | uses: actions/download-artifact@v4
|
@@ -496,14 +497,14 @@ jobs:
|
496 | 497 | with:
|
497 | 498 | name: testapps-android-${{ matrix.os }}
|
498 | 499 | path: testapps-android-${{ matrix.os }}
|
499 |
| - retention-days: ${{ env.artifactRetentionDays }} |
| 500 | + retention-days: ${{ env.binaryArtifactRetentionDays }} |
500 | 501 | - name: Upload Android build results artifact
|
501 | 502 | uses: actions/upload-artifact@v4
|
502 | 503 | if: ${{ !cancelled() }}
|
503 | 504 | with:
|
504 | 505 | name: log-artifact-build-android-${{ matrix.os }}
|
505 | 506 | path: build-results-android-${{ matrix.os }}*
|
506 |
| - retention-days: ${{ env.artifactRetentionDays }} |
| 507 | + retention-days: ${{ env.logArtifactRetentionDays }} |
507 | 508 | - name: Download log artifacts
|
508 | 509 | if: ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
|
509 | 510 | uses: actions/download-artifact@v4
|
@@ -604,14 +605,14 @@ jobs:
|
604 | 605 | with:
|
605 | 606 | name: testapps-ios-${{ matrix.os }}
|
606 | 607 | path: testapps-ios-${{ matrix.os }}
|
607 |
| - retention-days: ${{ env.artifactRetentionDays }} |
| 608 | + retention-days: ${{ env.binaryArtifactRetentionDays }} |
608 | 609 | - name: Upload iOS build results artifact
|
609 | 610 | uses: actions/upload-artifact@v4
|
610 | 611 | if: ${{ !cancelled() }}
|
611 | 612 | with:
|
612 | 613 | name: log-artifact-build-ios-${{ matrix.os }}
|
613 | 614 | path: build-results-ios-${{ matrix.os }}*
|
614 |
| - retention-days: ${{ env.artifactRetentionDays }} |
| 615 | + retention-days: ${{ env.logArtifactRetentionDays }} |
615 | 616 | - name: Download log artifacts
|
616 | 617 | if: ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
|
617 | 618 | uses: actions/download-artifact@v4
|
@@ -711,14 +712,14 @@ jobs:
|
711 | 712 | with:
|
712 | 713 | name: testapps-tvos-${{ matrix.os }}
|
713 | 714 | path: testapps-tvos-${{ matrix.os }}
|
714 |
| - retention-days: ${{ env.artifactRetentionDays }} |
| 715 | + retention-days: ${{ env.binaryArtifactRetentionDays }} |
715 | 716 | - name: Upload tvOS build results artifact
|
716 | 717 | uses: actions/upload-artifact@v4
|
717 | 718 | if: ${{ !cancelled() }}
|
718 | 719 | with:
|
719 | 720 | name: log-artifact-build-tvos-${{ matrix.os }}
|
720 | 721 | path: build-results-tvos-${{ matrix.os }}*
|
721 |
| - retention-days: ${{ env.artifactRetentionDays }} |
| 722 | + retention-days: ${{ env.logArtifactRetentionDays }} |
722 | 723 | - name: Download log artifacts
|
723 | 724 | if: ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
|
724 | 725 | uses: actions/download-artifact@v4
|
@@ -848,7 +849,7 @@ jobs:
|
848 | 849 | with:
|
849 | 850 | name: log-artifact-test-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.ssl_variant }}
|
850 | 851 | path: testapps/test-results-desktop-${{ matrix.os }}-${{ matrix.arch }}-${{ matrix.ssl_variant }}*
|
851 |
| - retention-days: ${{ env.artifactRetentionDays }} |
| 852 | + retention-days: ${{ env.logArtifactRetentionDays }} |
852 | 853 | - name: Download log artifacts
|
853 | 854 | if: ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
|
854 | 855 | uses: actions/download-artifact@v4
|
@@ -963,21 +964,21 @@ jobs:
|
963 | 964 | with:
|
964 | 965 | name: log-artifact-test-android-${{ matrix.build_os }}-${{ matrix.android_device }}-${{ matrix.test_type }}
|
965 | 966 | path: testapps/test-results-android-${{ matrix.build_os }}-${{ matrix.android_device }}-${{ matrix.test_type }}*
|
966 |
| - retention-days: ${{ env.artifactRetentionDays }} |
| 967 | + retention-days: ${{ env.logArtifactRetentionDays }} |
967 | 968 | - name: Upload Android test video artifact
|
968 | 969 | if: ${{ steps.device-info.outputs.device_type == 'virtual' && !cancelled() }}
|
969 | 970 | uses: actions/upload-artifact@v4
|
970 | 971 | with:
|
971 | 972 | name: mobile-simulator-test-video-artifact-${{ matrix.build_os }}-${{ matrix.android_device }}-${{ matrix.test_type }}
|
972 | 973 | path: testapps/video-*-android-${{ matrix.build_os }}-${{ matrix.android_device }}-${{ matrix.test_type }}.mp4
|
973 |
| - retention-days: ${{ env.artifactRetentionDays }} |
| 974 | + retention-days: ${{ env.binaryArtifactRetentionDays }} |
974 | 975 | - name: Upload Android test logcat artifact
|
975 | 976 | if: ${{ steps.device-info.outputs.device_type == 'virtual' && !cancelled() }}
|
976 | 977 | uses: actions/upload-artifact@v4
|
977 | 978 | with:
|
978 | 979 | name: mobile-simulator-test-logcat-artifact-${{ matrix.build_os }}-${{ matrix.android_device }}-${{ matrix.test_type }}
|
979 | 980 | path: testapps/logcat-*-android-${{ matrix.build_os }}-${{ matrix.android_device }}-${{ matrix.test_type }}.txt
|
980 |
| - retention-days: ${{ env.artifactRetentionDays }} |
| 981 | + retention-days: ${{ env.logArtifactRetentionDays }} |
981 | 982 | - name: Download log artifacts
|
982 | 983 | if: ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
|
983 | 984 | uses: actions/download-artifact@v4
|
@@ -1149,14 +1150,14 @@ jobs:
|
1149 | 1150 | with:
|
1150 | 1151 | name: log-artifact-test-ios-${{ matrix.build_os }}-${{ matrix.ios_device }}-${{ matrix.test_type }}
|
1151 | 1152 | path: testapps/test-results-ios-${{ matrix.build_os }}-${{ matrix.ios_device }}-${{ matrix.test_type }}*
|
1152 |
| - retention-days: ${{ env.artifactRetentionDays }} |
| 1153 | + retention-days: ${{ env.logArtifactRetentionDays }} |
1153 | 1154 | - name: Upload iOS test video artifact
|
1154 | 1155 | if: ${{ steps.device-info.outputs.device_type == 'virtual' && !cancelled() }}
|
1155 | 1156 | uses: actions/upload-artifact@v4
|
1156 | 1157 | with:
|
1157 | 1158 | name: mobile-simulator-test-video-artifact-ios-${{ matrix.build_os }}-${{ matrix.ios_device }}-${{ matrix.test_type }}
|
1158 | 1159 | path: testapps/video-*-ios-${{ matrix.build_os }}-${{ matrix.ios_device }}-${{ matrix.test_type }}.mp4
|
1159 |
| - retention-days: ${{ env.artifactRetentionDays }} |
| 1160 | + retention-days: ${{ env.binaryArtifactRetentionDays }} |
1160 | 1161 | - name: Download log artifacts
|
1161 | 1162 | if: ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
|
1162 | 1163 | uses: actions/download-artifact@v4
|
@@ -1289,14 +1290,14 @@ jobs:
|
1289 | 1290 | with:
|
1290 | 1291 | name: log-artifact-test-tvos-${{ matrix.build_os }}-${{ matrix.tvos_device }}
|
1291 | 1292 | path: testapps/test-results-tvos-${{ matrix.build_os }}-${{ matrix.tvos_device }}*
|
1292 |
| - retention-days: ${{ env.artifactRetentionDays }} |
| 1293 | + retention-days: ${{ env.logArtifactRetentionDays }} |
1293 | 1294 | - name: Upload tvOS test video artifact
|
1294 | 1295 | if: ${{ !cancelled() }}
|
1295 | 1296 | uses: actions/upload-artifact@v4
|
1296 | 1297 | with:
|
1297 | 1298 | name: mobile-simulator-test-video-artifact-tvos-${{ matrix.build_os }}-${{ matrix.tvos_device }}
|
1298 | 1299 | path: testapps/video-*-tvos-${{ matrix.build_os }}-${{ matrix.tvos_device }}.mp4
|
1299 |
| - retention-days: ${{ env.artifactRetentionDays }} |
| 1300 | + retention-days: ${{ env.binaryArtifactRetentionDays }} |
1300 | 1301 | - name: Download log artifacts
|
1301 | 1302 | if: ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
|
1302 | 1303 | uses: actions/download-artifact@v4
|
|
0 commit comments