Skip to content

Commit a9d72c2

Browse files
committed
Env var for results, try again.
1 parent 9d5d30c commit a9d72c2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/datachannel_echo-test.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ jobs:
4848
# echo "${{ matrix.server }},${{ matrix.client }},${{ steps.check_connection.outputs.TEST_RESULT }}" >> ${{ matrix.server }}_${{ matrix.client }}_result.csv
4949
# Append the result to the environment variable
5050
echo "RESULTS+=['${{ matrix.server }}','${{ matrix.client }}','${{ steps.check_connection.outputs.TEST_RESULT }}']" >> $GITHUB_ENV
51-
echo "GITHUB_ENV=$GITHUB_ENV"
52-
echo "RESULTS=$RESULTS"
51+
echo "GITHUB_ENV=${{ GITHUB_ENV }}"
52+
echo "RESULTS=${{ RESULTS ||"
5353
echo "env.RESULTS=${{ env.RESULTS }}"
5454
5555
# Job Description: Collates the results of the interop tests into a mark down table.
@@ -63,10 +63,10 @@ jobs:
6363
- name: Create results file from environment variable
6464
run: |
6565
echo "Collating results..."
66-
echo "| Server | Client | Test Result |" > results.md
67-
echo "|--------|--------|-------------|" >> results.md
66+
echo "| Server | Client | Test Result |" > DataChannel_Echo_test_results.md
67+
echo "|--------|--------|-------------|" >> DataChannel_Echo_test_results.md
6868
for result in ${{ env.RESULTS }}; do
69-
echo "| ${result[0]} | ${result[1]} | ${result[2]} |" >> results.md
69+
echo "| ${result[0]} | ${result[1]} | ${result[2]} |" >> DataChannel_Echo_test_results.md
7070
done
7171
cat DataChannel_Echo_test_results.md
7272
- name: Commit the results to the git repository
@@ -77,6 +77,6 @@ jobs:
7777
git pull
7878
#git add DataChannel_Echo_test_results.md DataChannel_Echo_test_results.png
7979
#git commit DataChannel_Echo_test_results.md DataChannel_Echo_test_results.png -m "Automated data channel echo test results."
80-
git add DataChannel_Echo_test_results.md
81-
git add DataChannel_Echo_test_results.md -m "Automated data channel echo test results."
80+
#git add DataChannel_Echo_test_results.md
81+
git commit DataChannel_Echo_test_results.md -m "Automated data channel echo test results."
8282
git push

0 commit comments

Comments
 (0)