Skip to content

Commit

Permalink
fix(matrix-outputs): expected tests result
Browse files Browse the repository at this point in the history
Signed-off-by: Emilien Escalle <[email protected]>
  • Loading branch information
neilime committed Feb 9, 2024
1 parent fecdab8 commit 601da06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/__test-action-matrix-outputs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -ce '. | sort')" != '[{"test":"test content 1"},{"test":"test content 3"}]' ]; then
echo "Get matrix outputs result is not valid"
exit 1
fi
Expand Down

0 comments on commit 601da06

Please sign in to comment.