File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 66
66
cd ..
67
67
if [[ -z $EXISTING_FILE ]]; then
68
68
mkdir -p ${{ inputs.repo-for-saving-data }}/$OUTPUT_DIR
69
- echo "The collected benchmark results will be saved to $OUTPUT_FILE ."
69
+ echo "The collected benchmark results will be saved to $OUTPUT_DIR/$OUTPUT_FILENAME ."
70
70
echo "::set-output name=output-file::$OUTPUT_DIR/$OUTPUT_FILENAME"
71
71
else
72
72
echo "The benchmark will not be run because results for that commit are already saved at $EXISTING_FILE."
Original file line number Diff line number Diff line change 59
59
run : |
60
60
echo $(ls)
61
61
if [ -f errors.txt ]; then
62
- ERROR_MESSAGES=$(cat errors.txt)
63
- echo "The benchmark runner reported the following errors:\n$ERROR_MESSAGES"
64
- echo "::set-output name=error-messages::Error messages: $ERROR_MESSAGES"
62
+ ERROR_MESSAGES="The benchmark runner reported the following errors:"$'\n'"$(cat errors.txt)"
63
+ echo "$ERROR_MESSAGES"
64
+ echo 'ERROR_MESSAGES<<EOF' >> $GITHUB_ENV
65
+ echo "$ERROR_MESSAGES" >> $GITHUB_ENV
66
+ echo 'EOF' >> $GITHUB_ENV
65
67
fi
66
68
shell : bash
67
69
70
72
with :
71
73
message : |
72
74
Running benchmarks from commit ${{ github.sha }}...
73
- ${{ steps.compute-error-messages.outputs.error-messages }}
75
+ ${{ env.ERROR_MESSAGES }}
74
76
75
77
Results so far:
76
78
85
87
with :
86
88
message : |
87
89
:heavy_check_mark: Finished running benchmarks from ${{ github.sha }}.
88
- ${{ steps.compute-error-messages.outputs.error-messages }}
90
+ ${{ env.ERROR_MESSAGES }}
89
91
90
92

91
93
comment_includes : ${{ github.sha }}
You can’t perform that action at this time.
0 commit comments