Skip to content

Commit

Permalink
added chmod +x
Browse files Browse the repository at this point in the history
  • Loading branch information
nulls committed Dec 13, 2023
1 parent b593be3 commit a76632e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,9 @@ runs:
set -o pipefail
IFS=$'\n'
INPUT_PATHS=(${{ inputs.input-paths }})
{ ${GITHUB_WORKSPACE}/diktat "${DIKTAT_ARGS[@]}" "${INPUT_PATHS[@]}" | tee diktat.log; } && exit_code=$? || exit_code=$?
DIKTAT_CMD=${GITHUB_WORKSPACE}/diktat
chmod +x ${DIKTAT_CMD}
{ ${DIKTAT_CMD} "${DIKTAT_ARGS[@]}" "${INPUT_PATHS[@]}" | tee diktat.log; } && exit_code=$? || exit_code=$?
echo "summary-line=$(tail -n1 diktat.log 2>/dev/null)" >>$GITHUB_OUTPUT
rm -f diktat.log
echo "exit-code=${exit_code}" >>$GITHUB_OUTPUT
Expand Down

0 comments on commit a76632e

Please sign in to comment.