@@ -348,14 +348,14 @@ jobs:
348
348
echo "__SUMMARY_MISSING__" > build-results-desktop-${{ matrix.os }}-${{ matrix.ssl_variant }}.log.json
349
349
fi
350
350
- name : Upload Desktop integration tests artifact
351
- uses : actions/upload-artifact@v2.2.2
351
+ uses : actions/upload-artifact@v3
352
352
if : ${{ !cancelled() }}
353
353
with :
354
354
name : testapps-desktop-${{ matrix.os }}-${{ matrix.ssl_variant }}
355
355
path : testapps-desktop-${{ matrix.os }}-${{ matrix.ssl_variant }}
356
356
retention-days : ${{ env.artifactRetentionDays }}
357
357
- name : Upload Desktop build results artifact
358
- uses : actions/upload-artifact@v2.2.2
358
+ uses : actions/upload-artifact@v3
359
359
if : ${{ !cancelled() }}
360
360
with :
361
361
name : log-artifact
@@ -379,7 +379,7 @@ jobs:
379
379
python scripts/gha/gcs_uploader.py --testapp_dir ta --key_file scripts/gha-encrypted/gcs_key_file.json
380
380
- name : Download log artifacts
381
381
if : ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
382
- uses : actions/download-artifact@v2.0.8
382
+ uses : actions/download-artifact@v3
383
383
with :
384
384
path : test_results
385
385
name : log-artifact
@@ -494,22 +494,22 @@ jobs:
494
494
echo "__SUMMARY_MISSING__" > build-results-android-${{ matrix.os }}.log.json
495
495
fi
496
496
- name : Upload Android integration tests artifact
497
- uses : actions/upload-artifact@v2.2.2
497
+ uses : actions/upload-artifact@v3
498
498
if : ${{ !cancelled() }}
499
499
with :
500
500
name : testapps-android-${{ matrix.os }}
501
501
path : testapps-android-${{ matrix.os }}
502
502
retention-days : ${{ env.artifactRetentionDays }}
503
503
- name : Upload Android build results artifact
504
- uses : actions/upload-artifact@v2.2.2
504
+ uses : actions/upload-artifact@v3
505
505
if : ${{ !cancelled() }}
506
506
with :
507
507
name : log-artifact
508
508
path : build-results-android-${{ matrix.os }}*
509
509
retention-days : ${{ env.artifactRetentionDays }}
510
510
- name : Download log artifacts
511
511
if : ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
512
- uses : actions/download-artifact@v2.0.8
512
+ uses : actions/download-artifact@v3
513
513
with :
514
514
path : test_results
515
515
name : log-artifact
@@ -611,22 +611,22 @@ jobs:
611
611
echo "__SUMMARY_MISSING__" > build-results-ios-macos-latest.log.json
612
612
fi
613
613
- name : Upload iOS integration tests artifact
614
- uses : actions/upload-artifact@v2.2.2
614
+ uses : actions/upload-artifact@v3
615
615
if : ${{ !cancelled() }}
616
616
with :
617
617
name : testapps-ios-macos-latest
618
618
path : testapps-ios-macos-latest
619
619
retention-days : ${{ env.artifactRetentionDays }}
620
620
- name : Upload iOS build results artifact
621
- uses : actions/upload-artifact@v2.2.2
621
+ uses : actions/upload-artifact@v3
622
622
if : ${{ !cancelled() }}
623
623
with :
624
624
name : log-artifact
625
625
path : build-results-ios-macos-latest*
626
626
retention-days : ${{ env.artifactRetentionDays }}
627
627
- name : Download log artifacts
628
628
if : ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
629
- uses : actions/download-artifact@v2.0.8
629
+ uses : actions/download-artifact@v3
630
630
with :
631
631
path : test_results
632
632
name : log-artifact
@@ -721,22 +721,22 @@ jobs:
721
721
echo "__SUMMARY_MISSING__" > build-results-tvos-macos-latest.log.json
722
722
fi
723
723
- name : Upload tvOS integration tests artifact
724
- uses : actions/upload-artifact@v2.2.2
724
+ uses : actions/upload-artifact@v3
725
725
if : ${{ !cancelled() }}
726
726
with :
727
727
name : testapps-tvos-macos-latest
728
728
path : testapps-tvos-macos-latest
729
729
retention-days : ${{ env.artifactRetentionDays }}
730
730
- name : Upload tvOS build results artifact
731
- uses : actions/upload-artifact@v2.2.2
731
+ uses : actions/upload-artifact@v3
732
732
if : ${{ !cancelled() }}
733
733
with :
734
734
name : log-artifact
735
735
path : build-results-tvos-macos-latest*
736
736
retention-days : ${{ env.artifactRetentionDays }}
737
737
- name : Download log artifacts
738
738
if : ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
739
- uses : actions/download-artifact@v2.0.8
739
+ uses : actions/download-artifact@v3
740
740
with :
741
741
path : test_results
742
742
name : log-artifact
@@ -776,7 +776,7 @@ jobs:
776
776
with :
777
777
ref : ${{needs.check_and_prepare.outputs.github_ref}}
778
778
- name : Download Desktop integration tests artifact
779
- uses : actions/download-artifact@v2.0.8
779
+ uses : actions/download-artifact@v3
780
780
with :
781
781
path : testapps
782
782
name : testapps-desktop-${{ matrix.os }}-${{ matrix.ssl_variant }}
@@ -814,19 +814,20 @@ jobs:
814
814
if : ${{ !cancelled() }}
815
815
shell : bash
816
816
run : |
817
- if [ ! -f testapps/test-results-desktop-${{ matrix.os }}-${{ matrix.ssl_variant }}.log.json ]; then
817
+ # If testapps do not exist, then it's a build error not test error.
818
+ if [ -d "testapps/testapps-desktop-${{ matrix.os }}-${{ matrix.ssl_variant }}" && ! -f testapps/test-results-desktop-${{ matrix.os }}-${{ matrix.ssl_variant }}.log.json ]; then
818
819
mkdir -p testapps && echo "__SUMMARY_MISSING__" > testapps/test-results-desktop-${{ matrix.os }}-${{ matrix.ssl_variant }}.log.json
819
820
fi
820
821
- name : Upload Desktop test results artifact
821
822
if : ${{ !cancelled() }}
822
- uses : actions/upload-artifact@v2.2.2
823
+ uses : actions/upload-artifact@v3
823
824
with :
824
825
name : log-artifact
825
826
path : testapps/test-results-desktop-${{ matrix.os }}-${{ matrix.ssl_variant }}*
826
827
retention-days : ${{ env.artifactRetentionDays }}
827
828
- name : Download log artifacts
828
829
if : ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
829
- uses : actions/download-artifact@v2.0.8
830
+ uses : actions/download-artifact@v3
830
831
with :
831
832
path : test_results
832
833
name : log-artifact
@@ -866,7 +867,7 @@ jobs:
866
867
with :
867
868
ref : ${{needs.check_and_prepare.outputs.github_ref}}
868
869
- name : Download Android integration tests artifact
869
- uses : actions/download-artifact@v2.0.8
870
+ uses : actions/download-artifact@v3
870
871
with :
871
872
path : testapps
872
873
name : testapps-android-${{ matrix.build_os }}
@@ -918,19 +919,20 @@ jobs:
918
919
if : ${{ !cancelled() }}
919
920
shell : bash
920
921
run : |
921
- if [ ! -f "testapps/test-results-android-${{ matrix.build_os }}-${{ matrix.android_device }}.log.json" ]; then
922
+ # If testapps do not exist, then it's a build error not test error.
923
+ if [ -d "testapps/testapps-android-${{ matrix.build_os }}" && ! -f "testapps/test-results-android-${{ matrix.build_os }}-${{ matrix.android_device }}.log.json" ]; then
922
924
mkdir -p testapps && echo "__SUMMARY_MISSING__" > "testapps/test-results-android-${{ matrix.build_os }}-${{ matrix.android_device }}.log.json"
923
925
fi
924
926
- name : Upload Android test results artifact
925
927
if : ${{ !cancelled() }}
926
- uses : actions/upload-artifact@v2.2.2
928
+ uses : actions/upload-artifact@v3
927
929
with :
928
930
name : log-artifact
929
931
path : testapps/test-results-android-${{ matrix.build_os }}-${{ matrix.android_device }}*
930
932
retention-days : ${{ env.artifactRetentionDays }}
931
933
- name : Download log artifacts
932
934
if : ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
933
- uses : actions/download-artifact@v2.0.8
935
+ uses : actions/download-artifact@v3
934
936
with :
935
937
path : test_results
936
938
name : log-artifact
@@ -969,7 +971,7 @@ jobs:
969
971
with :
970
972
ref : ${{needs.check_and_prepare.outputs.github_ref}}
971
973
- name : Download iOS integration tests artifact
972
- uses : actions/download-artifact@v2.0.8
974
+ uses : actions/download-artifact@v3
973
975
with :
974
976
path : testapps
975
977
name : testapps-ios-macos-latest
@@ -1021,19 +1023,20 @@ jobs:
1021
1023
if : ${{ !cancelled() }}
1022
1024
shell : bash
1023
1025
run : |
1024
- if [ ! -f "testapps/test-results-ios-macos-latest-${{ matrix.ios_device }}.log.json" ]; then
1026
+ # If testapps do not exist, then it's a build error not test error.
1027
+ if [ -d "testapps/testapps-ios-macos-latest" && ! -f "testapps/test-results-ios-macos-latest-${{ matrix.ios_device }}.log.json" ]; then
1025
1028
mkdir -p testapps && echo "__SUMMARY_MISSING__" > "testapps/test-results-ios-macos-latest-${{ matrix.ios_device }}.log.json"
1026
1029
fi
1027
1030
- name : Upload iOS test results artifact
1028
1031
if : ${{ !cancelled() }}
1029
- uses : actions/upload-artifact@v2.2.2
1032
+ uses : actions/upload-artifact@v3
1030
1033
with :
1031
1034
name : log-artifact
1032
1035
path : testapps/test-results-ios-macos-latest-${{ matrix.ios_device }}*
1033
1036
retention-days : ${{ env.artifactRetentionDays }}
1034
1037
- name : Download log artifacts
1035
1038
if : ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
1036
- uses : actions/download-artifact@v2.0.8
1039
+ uses : actions/download-artifact@v3
1037
1040
with :
1038
1041
path : test_results
1039
1042
name : log-artifact
@@ -1072,7 +1075,7 @@ jobs:
1072
1075
with :
1073
1076
ref : ${{needs.check_and_prepare.outputs.github_ref}}
1074
1077
- name : Download tvOS integration tests artifact
1075
- uses : actions/download-artifact@v2.0.8
1078
+ uses : actions/download-artifact@v3
1076
1079
with :
1077
1080
path : testapps
1078
1081
name : testapps-tvos-macos-latest
@@ -1102,19 +1105,20 @@ jobs:
1102
1105
if : ${{ !cancelled() }}
1103
1106
shell : bash
1104
1107
run : |
1105
- if [ ! -f "testapps/test-results-tvos-macos-latest-${{ matrix.tvos_device }}.log.json" ]; then
1108
+ # If testapps do not exist, then it's a build error not test error.
1109
+ if [ -d "testapps/testapps-tvos-macos-latest" && ! -f "testapps/test-results-tvos-macos-latest-${{ matrix.tvos_device }}.log.json" ]; then
1106
1110
mkdir -p testapps && echo "__SUMMARY_MISSING__" > "testapps/test-results-tvos-macos-latest-${{ matrix.tvos_device }}.log.json"
1107
1111
fi
1108
1112
- name : Upload tvOS test results artifact
1109
1113
if : ${{ !cancelled() }}
1110
- uses : actions/upload-artifact@v2.2.2
1114
+ uses : actions/upload-artifact@v3
1111
1115
with :
1112
1116
name : log-artifact
1113
1117
path : testapps/test-results-tvos-macos-latest-${{ matrix.tvos_device }}*
1114
1118
retention-days : ${{ env.artifactRetentionDays }}
1115
1119
- name : Download log artifacts
1116
1120
if : ${{ needs.check_and_prepare.outputs.pr_number && failure() && !cancelled() }}
1117
- uses : actions/download-artifact@v2.0.8
1121
+ uses : actions/download-artifact@v3
1118
1122
with :
1119
1123
path : test_results
1120
1124
name : log-artifact
@@ -1152,7 +1156,7 @@ jobs:
1152
1156
- name : Install python deps
1153
1157
run : pip install -r scripts/gha/requirements.txt
1154
1158
- name : Download log artifacts
1155
- uses : actions/download-artifact@v2.0.8
1159
+ uses : actions/download-artifact@v3
1156
1160
with :
1157
1161
path : test_results
1158
1162
name : log-artifact
0 commit comments