Skip to content

Commit dee5f0d

Browse files
committed
single line
Signed-off-by: Christian Henkel <[email protected]>
1 parent a3c68ed commit dee5f0d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/check_examples.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ jobs:
1313
- name: Find SCXML files
1414
id: set-files
1515
run: |
16-
FILES=$(find examples -type f \( -name "*.ascxml" -o -name "*.scxml" -o -name "*.xml" \) | jq -Rs 'split("\n")[:-1]')
16+
FILES=$(find examples -type f \( -name "*.ascxml" -o -name "*.scxml" -o -name "*.xml" \) | jq -R . | jq -s .)
17+
FILES=$(echo "$FILES" | tr -d '\n') # Ensure single-line JSON
1718
echo "Files found: $FILES"
1819
echo "files=$FILES" >> $GITHUB_OUTPUT
1920
validate-xml:

0 commit comments

Comments
 (0)