Skip to content

Commit

Permalink
Merge pull request #7 from budougumi0617/fix-script
Browse files Browse the repository at this point in the history
❤️ remove unused step, add info
  • Loading branch information
budougumi0617 authored May 5, 2021
2 parents 9700fba + 2d4a215 commit a31c4ad
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@ cd "${GITHUB_WORKSPACE}/${INPUT_WORKDIR}" || exit 1
TEMP_PATH="$(mktemp -d)"
PATH="${TEMP_PATH}:$PATH"

echo '::group::🐶 Installing reviewdog ... https://github.com/reviewdog/reviewdog'
curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh | sh -s -- -b "${TEMP_PATH}" "${REVIEWDOG_VERSION}" 2>&1
echo '::endgroup::'

echo '::group:: Installing gigi ... https://github.com/budougumi0617/gigi'
echo "info: $(curl -Ls https://api.github.com/repos/budougumi0617/gigi/releases/latest | grep html_url.*tag)"
curl -L "$(curl -Ls https://api.github.com/repos/budougumi0617/gigi/releases/latest | grep -o -E "https://.+?_Linux_x86_64.tar.gz")" -o gigi.tar.gz && tar -zxvf gigi.tar.gz -C "${TEMP_PATH}" && rm gigi.tar.gz
echo '::endgroup::'

Expand Down

0 comments on commit a31c4ad

Please sign in to comment.