mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-18 08:48:27 -04:00
set proper workflow error message
This commit is contained in:
@@ -18,8 +18,9 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
WRONG_PERM=$(find ./ -name run -not -perm -u=x,g=x,o=x && find ./ -name finish -not -perm -u=x,g=x,o=x)
|
WRONG_PERM=$(find ./ -name run -not -perm -u=x,g=x,o=x && find ./ -name finish -not -perm -u=x,g=x,o=x)
|
||||||
if [ -n "${WRONG_PERM}" ]; then
|
if [ -n "${WRONG_PERM}" ]; then
|
||||||
echo "**** The following files are missing the executable bit: ****"
|
for i in ${WRONG_PERM}; do
|
||||||
echo "${WRONG_PERM}"
|
echo "::error file=${i},line=1,title=Missing Executable Bit::This file needs to be set as executable!"
|
||||||
|
done
|
||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo "**** All perms look good ****"
|
echo "**** All perms look good ****"
|
||||||
|
|||||||
Reference in New Issue
Block a user