Add changes_detected output

This commit is contained in:
Stefan Zweifel 2020-03-03 20:51:12 +01:00
parent 404d2015f4
commit 33e8fd937f

View File

@ -7,6 +7,8 @@ _main() {
if _git_is_dirty; then if _git_is_dirty; then
echo \"::set-output name=changes_detected::true\"
_setup_git _setup_git
_switch_to_branch _switch_to_branch
@ -17,6 +19,9 @@ _main() {
_push_to_github _push_to_github
else else
echo \"::set-output name=changes_detected::false\"
echo "Working tree clean. Nothing to commit." echo "Working tree clean. Nothing to commit."
fi fi
} }