File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -140,12 +140,12 @@ jobs:
140140 id : performance_report
141141 run : |
142142 PHPCS_OUTPUT=$(./vendor/bin/phpcs --standard=VariableAnalysis --report=Performance ./PHPMailer.php)
143- echo "${PHPCS_OUTPUT}" > ${env.PHPCS_OUTPUT_FILE}
143+ echo "${PHPCS_OUTPUT}" > ${{ env.PHPCS_OUTPUT_FILE } }
144144
145145 - name : Parse performance report
146146 id : parse_performance_report
147147 run : |
148- TOTAL_SECS=$(cat ${env.PHPCS_OUTPUT_FILE} | grep -Eo 'TOTAL SNIFF PROCESSING TIME[ ]+[0-9.]+'|awk '{ print $5 }')
148+ TOTAL_SECS=$(cat ${{ env.PHPCS_OUTPUT_FILE } } | grep -Eo 'TOTAL SNIFF PROCESSING TIME[ ]+[0-9.]+'|awk '{ print $5 }')
149149 echo "Performance time was ${TOTAL_SECS} (max ${{ env.MAX_PHPCS_PERF_SECS }})"
150150 echo "PHPCS_PERF_SECS=${TOTAL_SECS}" >> $GITHUB_OUTPUT
151151
You can’t perform that action at this time.
0 commit comments