From edc239d88f8d71f805e5a2e4bfcd50395f0d8afa Mon Sep 17 00:00:00 2001 From: ZeroRin Date: Sat, 10 Sep 2022 20:46:05 +0800 Subject: [PATCH] Update entrypoint.sh --- entrypoint.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index dee54a95..3d1b4865 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -9,13 +9,13 @@ fi _main() { _switch_to_repository - if _git_is_dirty || "$INPUT_SKIP_DIRTY_CHECK"; then + _switch_to_branch - echo "::set-output name=changes_detected::true"; + _add_files - _switch_to_branch + if _git_is_dirty || "$INPUT_SKIP_DIRTY_CHECK"; then - _add_files + echo "::set-output name=changes_detected::true"; _local_commit