We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7f5b989 commit 9ef75bdCopy full SHA for 9ef75bd
.github/workflows/graph.yml
@@ -62,5 +62,10 @@ jobs:
62
echo "Length: $(echo '${{ needs.create-directories.outputs.dirs }}' | wc -c)"
63
echo "JSON test:"
64
echo '${{ needs.create-directories.outputs.dirs }}' | jq .
65
- echo "fromJson test:"
66
- echo "This would create matrix for: ${{ fromJson(needs.create-directories.outputs.dirs) }}"
+
+ # 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