From 6f14baabbccf7a0a0dff7cb77d9636bedead54ae Mon Sep 17 00:00:00 2001 From: Tonye Jack Date: Sat, 30 Sep 2023 20:01:33 -0600 Subject: [PATCH] Update test.yml --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a3d2d0c..6fea2ae 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -144,12 +144,12 @@ jobs: id: deleted_file_test - name: Display deleted file test result - if: steps.deleted_file_test.outputs.files_changed == 'true' + if: "contains(steps.deleted_file_test.outputs.changed_files, 'test/new.txt')" run: | echo "Deletion detected: ${{ steps.deleted_file_test.outputs.changed_files }}" - name: Verify Deletion of test/new.txt - if: steps.deleted_file_test.outputs.files_changed != 'true' + if: "!contains(steps.deleted_file_test.outputs.changed_files, 'test/new.txt')" run: | echo "No Deletion detected: (Not expected)" exit 1