Skip to content

Commit aa1fd30

Browse files
committed
Prevent multiline matrix payload from causing issues in GitHub workflow output
Signed-off-by: George Steel <[email protected]>
1 parent 3934950 commit aa1fd30

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/continuous-integration.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ jobs:
2525
# This provides a dedicated "check" to asynchronously test all integration tests within the tests/ directory
2626
# The project name from the tests/ directory is then re-used within the "qa" job to run the generated "container"
2727
# within that directory.
28-
run: cd tests; echo "matrix=[\"$(ls -d * | tr '\n' ' ' | sed 's/ $//' | sed 's/ /\",\"/g')\"]" >> $GITHUB_OUTPUT
28+
run: |
29+
cd tests;
30+
echo 'matrix<<EOF' >> $GITHUB_OUTPUT
31+
echo "[\"$(ls -d * | tr '\n' ' ' | sed 's/ $//' | sed 's/ /\",\"/g')\"]" >> $GITHUB_OUTPUT
32+
echo 'EOF' >> $GITHUB_OUTPUT
2933
3034
container:
3135
name: Prepare docker container

0 commit comments

Comments
 (0)