Skip to content

Commit efb4672

Browse files
committed
output single-line JSON as multi-line is not supported with GITHUB_OUTPUT.
1 parent 7df7ca0 commit efb4672

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/check-e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
POM="powertools-e2e-tests/pom.xml"
5656
5757
# e2e profile uses **/*E2ET.java — find all matching test files
58-
E2E_CLASSES=$(find "$TEST_DIR" -name '*E2ET.java' | xargs -n1 basename | sed 's/\.java$//' | sort | jq -R . | jq -s .)
58+
E2E_CLASSES=$(find "$TEST_DIR" -name '*E2ET.java' | xargs -n1 basename | sed 's/\.java$//' | sort | jq -R . | jq -sc .)
5959
6060
# Extract include patterns from e2e-graal profile, then match against test files
6161
GRAAL_CLASSES=$(
@@ -66,7 +66,7 @@ jobs:
6666
filename="${pattern##*/}"
6767
find "$TEST_DIR" -name "$filename" | xargs -n1 basename | sed 's/\.java$//'
6868
done \
69-
| sort | jq -R . | jq -s .
69+
| sort | jq -R . | jq -sc .
7070
)
7171
7272
echo "e2e test classes: $E2E_CLASSES"

0 commit comments

Comments
 (0)