Skip to content

Commit b593be3

Browse files
committed
a full path to diktat
1 parent 26e3f27 commit b593be3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ runs:
122122
set -o pipefail
123123
IFS=$'\n'
124124
INPUT_PATHS=(${{ inputs.input-paths }})
125-
{ diktat "${DIKTAT_ARGS[@]}" "${INPUT_PATHS[@]}" | tee diktat.log; } && exit_code=$? || exit_code=$?
125+
{ ${GITHUB_WORKSPACE}/diktat "${DIKTAT_ARGS[@]}" "${INPUT_PATHS[@]}" | tee diktat.log; } && exit_code=$? || exit_code=$?
126126
echo "summary-line=$(tail -n1 diktat.log 2>/dev/null)" >>$GITHUB_OUTPUT
127127
rm -f diktat.log
128128
echo "exit-code=${exit_code}" >>$GITHUB_OUTPUT

0 commit comments

Comments
 (0)