From 2123110d7fa09440678ff0102cb266265f2b01f3 Mon Sep 17 00:00:00 2001 From: yatinappsmith <84702014+yatinappsmith@users.noreply.github.com> Date: Tue, 25 Oct 2022 11:01:26 +0530 Subject: [PATCH] ci: fix fat-container combined (#17742) Fixed ui-test.result check --- .github/workflows/integration-tests-command.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/integration-tests-command.yml b/.github/workflows/integration-tests-command.yml index 2338ba32b2..fd6a93d489 100644 --- a/.github/workflows/integration-tests-command.yml +++ b/.github/workflows/integration-tests-command.yml @@ -837,9 +837,9 @@ jobs: if: needs.fat-container-test.result != 'success' run: cat ~/failed_spec_fat/failed_spec_fat* >> ~/combined_failed_spec_fat - # Force save the failed spec list into a cache + # save the failed spec list into a cache - name: Store the combined run result - if: needs.ui-test.result + if: needs.ui-test.result != 'success' uses: martijnhols/actions-cache/save@v3 with: path: | @@ -850,7 +850,7 @@ jobs: # Force save the fat failed spec list into a cache - name: Store the combined run result for fat - if: needs.ui-test.result + if: needs.fat-container-test.result != 'success' uses: martijnhols/actions-cache/save@v3 with: path: | @@ -862,7 +862,7 @@ jobs: # Upload combined failed spec list to a file # This is done for debugging. - name: upload combined failed spec - if: needs.ui-test.result + if: needs.ui-test.result != 'success' uses: actions/upload-artifact@v2 with: name: combined_failed_spec @@ -871,7 +871,7 @@ jobs: # Upload combined failed fat spec list to a file # This is done for debugging. - name: upload combined failed spec - if: needs.ui-test.result + if: needs.fat-container-test.result != 'success' uses: actions/upload-artifact@v2 with: name: combined_failed_spec_fat