From b1f7cdd4a6f04a5dd0601c5b4d973aa06ca06076 Mon Sep 17 00:00:00 2001 From: nscuro Date: Fri, 25 Jun 2021 18:23:04 +0200 Subject: [PATCH] Log matched version when using `latest` Signed-off-by: nscuro --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index e37831e..24ffd20 100644 --- a/index.js +++ b/index.js @@ -69,7 +69,9 @@ async function getLatestReleaseVersion(httpClient) { throw new Error(`Unexpected response status: ${responseJson.statusCode}`); } - return responseJson.result.tag_name; + const version = responseJson.result.tag_name; + core.info(`Latest version is ${version}`); + return version; } async function getReleaseVersionMatchingRange(httpClient, range) {