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 b593be3 commit a76632eCopy full SHA for a76632e
action.yml
@@ -122,7 +122,9 @@ runs:
122
set -o pipefail
123
IFS=$'\n'
124
INPUT_PATHS=(${{ inputs.input-paths }})
125
- { ${GITHUB_WORKSPACE}/diktat "${DIKTAT_ARGS[@]}" "${INPUT_PATHS[@]}" | tee diktat.log; } && exit_code=$? || exit_code=$?
+ DIKTAT_CMD=${GITHUB_WORKSPACE}/diktat
126
+ chmod +x ${DIKTAT_CMD}
127
+ { ${DIKTAT_CMD} "${DIKTAT_ARGS[@]}" "${INPUT_PATHS[@]}" | tee diktat.log; } && exit_code=$? || exit_code=$?
128
echo "summary-line=$(tail -n1 diktat.log 2>/dev/null)" >>$GITHUB_OUTPUT
129
rm -f diktat.log
130
echo "exit-code=${exit_code}" >>$GITHUB_OUTPUT
0 commit comments