Skip to content

Commit

Permalink
Merge pull request #4 from budougumi0617/set-exit-status
Browse files Browse the repository at this point in the history
❤️ set status
  • Loading branch information
budougumi0617 authored May 5, 2021
2 parents bba4be1 + 794acb0 commit 17e3ee4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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::'
status=$($?)
echo '::endgroup::'
exit $status

0 comments on commit 17e3ee4

Please sign in to comment.