We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c79f3a commit ff3feddCopy full SHA for ff3fedd
action.yml
@@ -100,10 +100,12 @@ runs:
100
DIKTAT_ARGS=('--config' '${{ inputs.config }}' '--reporter' '${{ inputs.reporter }}')
101
if [[ '${{ inputs.reporter }}' == 'sarif' ]]
102
then
103
- DIKTAT_ARGS+=('--output' '${GITHUB_WORKSPACE}/report.sarif')
+ report_file=${GITHUB_WORKSPACE}/report.sarif
104
+ DIKTAT_ARGS+=('--output' report_file)
105
elif [[ '${{ inputs.reporter }}' == 'checkstyle' ]]
106
- DIKTAT_ARGS+=('--output' '${GITHUB_WORKSPACE}/checkstyle-report.xml')
107
+ report_file=${GITHUB_WORKSPACE}/checkstyle-report.xml
108
109
else
110
echo "`reporter` should be set to `sarif` or `checkstyle`"
111
exit 1
0 commit comments