ci: fix fat-container combined (#17742)

Fixed ui-test.result check
This commit is contained in:
yatinappsmith 2022-10-25 11:01:26 +05:30 committed by GitHub
parent e6d31115ee
commit 2123110d7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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