Skip to content

Commit a76632e

Browse files
committed
added chmod +x
1 parent b593be3 commit a76632e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

action.yml

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

0 commit comments

Comments
 (0)