From fce199e243f665a271f4b5233ff05fa721239a7a Mon Sep 17 00:00:00 2001 From: Kevin Stillhammer Date: Thu, 21 Aug 2025 10:06:33 +0200 Subject: [PATCH] Add log message before long API calls to GitHub (#530) Fixes: #457 --- dist/setup/index.js | 3 ++- src/download/download-version.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index 967f494..5fca5e4 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -126229,6 +126229,7 @@ async function resolveVersion(versionInput, manifestFile, githubToken) { return resolvedVersion; } async function getAvailableVersions(githubToken) { + core.info("Getting available versions from GitHub API..."); try { const octokit = new octokit_1.Octokit({ auth: githubToken, @@ -126256,7 +126257,7 @@ async function getReleaseTagNames(octokit) { return releaseTagNames; } async function getLatestVersion(githubToken) { - core.debug("Getting latest version..."); + core.info("Getting latest version from GitHub API..."); const octokit = new octokit_1.Octokit({ auth: githubToken, }); diff --git a/src/download/download-version.ts b/src/download/download-version.ts index 134452a..8ed5cf1 100644 --- a/src/download/download-version.ts +++ b/src/download/download-version.ts @@ -160,6 +160,7 @@ export async function resolveVersion( } async function getAvailableVersions(githubToken: string): Promise { + core.info("Getting available versions from GitHub API..."); try { const octokit = new Octokit({ auth: githubToken, @@ -194,7 +195,7 @@ async function getReleaseTagNames( } async function getLatestVersion(githubToken: string) { - core.debug("Getting latest version..."); + core.info("Getting latest version from GitHub API..."); const octokit = new Octokit({ auth: githubToken, });