Skip to content

Commit 28c06b1

Browse files
Merge pull request #1 from budougumi0617/fix-install-command
❤️ fix install command
2 parents 936a625 + 315c1d8 commit 28c06b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

script.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.s
1010
echo '::endgroup::'
1111

1212
echo '::group:: Installing nrseg ... https://github.com/budougumi0617/nrseg'
13-
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
13+
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
1414
echo '::endgroup::'
1515

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

0 commit comments

Comments
 (0)