Skip to content

Commit 689d8e9

Browse files
committed
no joy no joy.
1 parent 4c1fc3b commit 689d8e9

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/datachannel_echo-test.yml

+7-5
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
runs-on: ubuntu-latest
2020
# See https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#using-job-outputs-in-a-matrix-job
2121
outputs:
22-
results: ${{ steps.record_results.outputs.results }} # Capture all results in one output
22+
results: ${{ steps.set_output.outputs.results }} # Capture all results in one output
2323

2424
strategy:
2525
matrix:
@@ -46,11 +46,13 @@ jobs:
4646
echo "::set-output name=TEST_RESULT::$result"
4747
continue-on-error: true
4848

49-
- name: Record result
50-
id: record_results
49+
- name: Set output results
50+
id: set_output
5151
run: |
52-
echo "Result for ${{ matrix.server }} server and ${{ matrix.client }} client, outcome ${{ steps.check_connection.outcome }}, result ${{ steps.check_connection.outputs.TEST_RESULT }}."
53-
echo "${{ matrix.server }},${{ matrix.client }},${{ steps.check_connection.outputs.TEST_RESULT }}" >> "$GITHUB_OUTPUT"
52+
# Combine the results directly into a single output variable
53+
echo "RESULTS+=('${{ matrix.server }},${{ matrix.client }},${{ steps.check_connection.outputs.TEST_RESULT }}')" >> $GITHUB_ENV
54+
# Set the combined output for this job
55+
echo "results=$(echo "${RESULTS[@]}" | tr '\n' ' ')" >> $GITHUB_OUTPUT
5456
5557
# Job Description: Collates the results of the interop tests into a mark down table.
5658
collate:

0 commit comments

Comments
 (0)