From 794acb0921ef051d9356ff885d5168949cb4852c Mon Sep 17 00:00:00 2001 From: budougumi0617 Date: Thu, 6 May 2021 02:32:46 +0900 Subject: [PATCH] :heart: set status --- script.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/script.sh b/script.sh index a0d314d..e0bc429 100755 --- a/script.sh +++ b/script.sh @@ -14,9 +14,11 @@ curl -L "$(curl -Ls https://api.github.com/repos/budougumi0617/gigi/releases/lat echo '::endgroup::' export GIGI_GITHUB_TOKEN="${INPUT_GITHUB_TOKEN}" -export GIGI_MAX_ADDED_COUNT="${INPUT_MAX_ADDED_COUNT}" +export GIGI_MAX_ADDED_COUNT="${INPUT_MAX_ADDED_COUNT:-500}" echo '::group:: Running gigi ...' # shellcheck disable=SC2086 gigi -echo '::endgroup::' \ No newline at end of file +status=$($?) +echo '::endgroup::' +exit $status \ No newline at end of file