Skip to content

Commit fce199e

Browse files
authored
Add log message before long API calls to GitHub (#530)
Fixes: #457
1 parent f758a4a commit fce199e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

dist/setup/index.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/download/download-version.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ export async function resolveVersion(
160160
}
161161

162162
async function getAvailableVersions(githubToken: string): Promise<string[]> {
163+
core.info("Getting available versions from GitHub API...");
163164
try {
164165
const octokit = new Octokit({
165166
auth: githubToken,
@@ -194,7 +195,7 @@ async function getReleaseTagNames(
194195
}
195196

196197
async function getLatestVersion(githubToken: string) {
197-
core.debug("Getting latest version...");
198+
core.info("Getting latest version from GitHub API...");
198199
const octokit = new Octokit({
199200
auth: githubToken,
200201
});

0 commit comments

Comments
 (0)