Skip to content

Commit

Permalink
Remove unnecessary fromJSON
Browse files Browse the repository at this point in the history
  • Loading branch information
sirbrillig committed Dec 8, 2024
1 parent 2f68070 commit f0271f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/csqa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:
run: echo "PHPCS_PERF_SECS=$(./vendor/bin/phpcs --standard=VariableAnalysis --report=Performance ./PHPMailer.php | grep -Eo 'TOTAL SNIFF PROCESSING TIME[ ]+[0-9.]+'|awk '{ print $5 }')" >> $GITHUB_OUTPUT

- name: Log performance
run: echo "${{ fromJSON( steps.performance_report.outputs.PHPCS_PERF_SECS ) }}"
run: echo "${{ steps.performance_report.outputs.PHPCS_PERF_SECS }}"

# fromJSON is used to convert strings to numbers in github actions.
# @link https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/evaluate-expressions-in-workflows-and-actions#operators
Expand Down

0 comments on commit f0271f8

Please sign in to comment.