From dfa8be2e3fad3fc20d247ae28c8b78e5d0d3ce89 Mon Sep 17 00:00:00 2001 From: Katsuhiko YOSHIDA Date: Sat, 4 Nov 2023 18:04:18 +0900 Subject: [PATCH] Update action version --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 18bc640..2b8edb7 100644 --- a/action.yml +++ b/action.yml @@ -24,7 +24,7 @@ runs: api_request_args=("${api_request_args[@]}" -H "authorization: token $github_token") fi if [ "${VERSION}" = "latest" ]; then - DOWNLOAD_URL=$(curl "${api_request_args[@]}" https://api.github.com/repos/kyoshidajp/dep-doctor/releases | jq -r '[.[]|select(.tag_name > "v0.2")][0].assets[].browser_download_url|select(match("Linux_x86_64."))') + DOWNLOAD_URL=$(curl "${api_request_args[@]}" https://api.github.com/repos/kyoshidajp/dep-doctor/releases | jq -r '[.[]|select(.tag_name > "v1.0")][0].assets[].browser_download_url|select(match("Linux_x86_64."))') else DOWNLOAD_URL=https://github.com/kyoshidajp/dep-doctor/releases/download/${VERSION}/dep-doctor_Linux_x86_64.tar.gz fi