Skip to content

Commit

Permalink
resolving report_file
Browse files Browse the repository at this point in the history
  • Loading branch information
nulls committed Dec 18, 2023
1 parent ff3fedd commit 9f6eaf3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,15 @@ runs:
if [[ '${{ inputs.reporter }}' == 'sarif' ]]
then
report_file=${GITHUB_WORKSPACE}/report.sarif
DIKTAT_ARGS+=('--output' report_file)
elif [[ '${{ inputs.reporter }}' == 'checkstyle' ]]
then
report_file=${GITHUB_WORKSPACE}/checkstyle-report.xml
DIKTAT_ARGS+=('--output' report_file)
else
echo "`reporter` should be set to `sarif` or `checkstyle`"
exit 1
fi
DIKTAT_ARGS+=('--output' '${report_file}')
if [[ '${{ inputs.debug }}' == 'true' ]]
then
DIKTAT_ARGS+=('--log-level' 'DEBUG')
Expand Down

0 comments on commit 9f6eaf3

Please sign in to comment.