try fix (#2339)
This commit is contained in:
parent
4d358f4759
commit
27415a49a1
|
@ -72,7 +72,7 @@ jobs:
|
||||||
git status
|
git status
|
||||||
OUT=$(git commit -m "Trigger wheel definitions" unit_tests/triggers.txt 2>&1) || echo "commit failed, finding out why"
|
OUT=$(git commit -m "Trigger wheel definitions" unit_tests/triggers.txt 2>&1) || echo "commit failed, finding out why"
|
||||||
echo "$OUT"
|
echo "$OUT"
|
||||||
if echo "$OUT" | grep 'nothing to commit'; then
|
if echo "$OUT" | grep -E 'nothing to commit|no changes added'; then
|
||||||
echo "::set-env name=NOCOMMIT::true"
|
echo "::set-env name=NOCOMMIT::true"
|
||||||
exit 0
|
exit 0
|
||||||
elif echo "$OUT" | grep 'changed'; then
|
elif echo "$OUT" | grep 'changed'; then
|
||||||
|
|
Loading…
Reference in New Issue