Skip to content

Commit 9ef75bd

Browse files
committed
development
1 parent 7f5b989 commit 9ef75bd

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/graph.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,10 @@ jobs:
6262
echo "Length: $(echo '${{ needs.create-directories.outputs.dirs }}' | wc -c)"
6363
echo "JSON test:"
6464
echo '${{ needs.create-directories.outputs.dirs }}' | jq .
65-
echo "fromJson test:"
66-
echo "This would create matrix for: ${{ fromJson(needs.create-directories.outputs.dirs) }}"
65+
66+
# Test fromJson by showing what it would expand to
67+
dirs='${{ needs.create-directories.outputs.dirs }}'
68+
echo "fromJson would expand to:"
69+
echo "$dirs" | jq -r '.[]' | while read dir; do
70+
echo "- Matrix job for: $dir"
71+
done

0 commit comments

Comments
 (0)