Skip to content

Commit

Permalink
Merge pull request #1 from budougumi0617/fix-install-command
Browse files Browse the repository at this point in the history
❤️ fix install command
  • Loading branch information
budougumi0617 authored Feb 4, 2021
2 parents 936a625 + 315c1d8 commit 28c06b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.s
echo '::endgroup::'

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

export REVIEWDOG_GITHUB_API_TOKEN="${INPUT_GITHUB_TOKEN}"
Expand All @@ -25,4 +25,4 @@ nrseg inspect ${INPUT_NRSEG_FLAGS} \
-fail-on-error="${INPUT_FAIL_ON_ERROR:-false}" \
-level="${INPUT_LEVEL}" \
${INPUT_REVIEWDOG_FLAGS}
echo '::endgroup::'
echo '::endgroup::'

0 comments on commit 28c06b1

Please sign in to comment.