From 5df916a2db8421482a65acbe47c634d52b238c12 Mon Sep 17 00:00:00 2001 From: Emilien Escalle Date: Fri, 9 Feb 2024 11:14:40 +0100 Subject: [PATCH] fix(matrix-outputs): expected tests result Signed-off-by: Emilien Escalle --- .github/workflows/__test-action-matrix-outputs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/__test-action-matrix-outputs.yml b/.github/workflows/__test-action-matrix-outputs.yml index c597025..e4aed8b 100644 --- a/.github/workflows/__test-action-matrix-outputs.yml +++ b/.github/workflows/__test-action-matrix-outputs.yml @@ -94,7 +94,7 @@ jobs: fi # Output result must contain the first and third entries - if [ "$(echo "$OUTPUT_RESULT" | jq -e '. | map(.test) | sort')" != '["test content 1","test content 3"]' ]; then + if [ "$(echo "$OUTPUT_RESULT" | jq -e '. | map(.test) | sort')" != '[{"test": "test content 1"},{"test": "test content 3"}]' ]; then echo "Get matrix outputs result is not valid" exit 1 fi