From 07d676fb28b6d0dbfaff5369adcbfb4587a25091 Mon Sep 17 00:00:00 2001 From: Payton Swick Date: Sun, 8 Dec 2024 20:32:07 -0500 Subject: [PATCH] Fix escaping of env vars --- .github/workflows/csqa.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/csqa.yml b/.github/workflows/csqa.yml index 6b3ad45..25817f4 100644 --- a/.github/workflows/csqa.yml +++ b/.github/workflows/csqa.yml @@ -140,12 +140,12 @@ jobs: id: performance_report run: | PHPCS_OUTPUT=$(./vendor/bin/phpcs --standard=VariableAnalysis --report=Performance ./PHPMailer.php) - echo "${PHPCS_OUTPUT}" > ${env.PHPCS_OUTPUT_FILE} + echo "${PHPCS_OUTPUT}" > ${{ env.PHPCS_OUTPUT_FILE }} - name: Parse performance report id: parse_performance_report run: | - TOTAL_SECS=$(cat ${env.PHPCS_OUTPUT_FILE} | grep -Eo 'TOTAL SNIFF PROCESSING TIME[ ]+[0-9.]+'|awk '{ print $5 }') + TOTAL_SECS=$(cat ${{ env.PHPCS_OUTPUT_FILE }} | grep -Eo 'TOTAL SNIFF PROCESSING TIME[ ]+[0-9.]+'|awk '{ print $5 }') echo "Performance time was ${TOTAL_SECS} (max ${{ env.MAX_PHPCS_PERF_SECS }})" echo "PHPCS_PERF_SECS=${TOTAL_SECS}" >> $GITHUB_OUTPUT