File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,7 @@ runs:
100
100
grep_nospec=(grep 'No test files found')
101
101
("${grep_eronly[@]}"<<<"$OUT" && "${grep_nospec[@]}"<<<"$OUT")&>/dev/null && echo "spec-missing=true" >> $GITHUB_OUTPUT
102
102
OUT="$(sed 's/\x1B\[[0-9;]\{1,\}[A-Za-z]//g'<<<"$OUT")"
103
- OUT="${OUT//'%'/'%25'}";OUT="${OUT//$'\n'/'%0A'}"
104
- echo "stdout=${OUT//$'\r'/'%0D'}" >> $GITHUB_OUTPUT
103
+ printf 'stdout<<END-OF-MINEUNIT-CONTENT\n%s\nEND-OF-MINEUNIT-CONTENT' "${OUT}" >> $GITHUB_OUTPUT
105
104
exit $ERR
106
105
- id : mineunit-report
107
106
name : mineunit coverage report
@@ -110,8 +109,7 @@ runs:
110
109
run : |
111
110
$HOME/.luarocks/bin/mineunit -r
112
111
OUT="$(awk -v p=0 '/^----/{p++;next}p==2{exit}p' luacov.report.out | sort -hrk4)"
113
- OUT="${OUT//'%'/'%25'}";OUT="${OUT//$'\n'/'%0A'}"
114
- echo "report=${OUT//$'\r'/'%0D'}" >> $GITHUB_OUTPUT
112
+ printf 'report<<END-OF-MINEUNIT-CONTENT\n%s\nEND-OF-MINEUNIT-CONTENT' "${OUT}" >> $GITHUB_OUTPUT
115
113
- id : mineunit-coverage
116
114
name : collect coverage data
117
115
working-directory : " ${{ inputs.working-directory }}"
You can’t perform that action at this time.
0 commit comments