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 <emilien.escalle@escemi.com>
  • Loading branch information
neilime committed Feb 9, 2024
1 parent 9d15261 commit 5c3e970
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 5c3e970

Please sign in to comment.