From 315c1d866ac9e054a5b86fa8bfc184c152f78ad6 Mon Sep 17 00:00:00 2001 From: budougumi0617 Date: Fri, 5 Feb 2021 01:53:50 +0900 Subject: [PATCH] :heart: fix install command --- script.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script.sh b/script.sh index 3a0d953..bec7c10 100755 --- a/script.sh +++ b/script.sh @@ -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}" @@ -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::' \ No newline at end of file +echo '::endgroup::'