Add log message before long API calls to GitHub (#530)

Fixes: #457
This commit is contained in:
Kevin Stillhammer
2025-08-21 10:06:33 +02:00
committed by GitHub
parent f758a4a1eb
commit fce199e243
2 changed files with 4 additions and 2 deletions

3
dist/setup/index.js generated vendored
View File

@ -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,
});

View File

@ -160,6 +160,7 @@ export async function resolveVersion(
}
async function getAvailableVersions(githubToken: string): Promise<string[]> {
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,
});