mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-09-03 18:46:51 +00:00
committed by
GitHub
parent
f758a4a1eb
commit
fce199e243
3
dist/setup/index.js
generated
vendored
3
dist/setup/index.js
generated
vendored
@ -126229,6 +126229,7 @@ async function resolveVersion(versionInput, manifestFile, githubToken) {
|
|||||||
return resolvedVersion;
|
return resolvedVersion;
|
||||||
}
|
}
|
||||||
async function getAvailableVersions(githubToken) {
|
async function getAvailableVersions(githubToken) {
|
||||||
|
core.info("Getting available versions from GitHub API...");
|
||||||
try {
|
try {
|
||||||
const octokit = new octokit_1.Octokit({
|
const octokit = new octokit_1.Octokit({
|
||||||
auth: githubToken,
|
auth: githubToken,
|
||||||
@ -126256,7 +126257,7 @@ async function getReleaseTagNames(octokit) {
|
|||||||
return releaseTagNames;
|
return releaseTagNames;
|
||||||
}
|
}
|
||||||
async function getLatestVersion(githubToken) {
|
async function getLatestVersion(githubToken) {
|
||||||
core.debug("Getting latest version...");
|
core.info("Getting latest version from GitHub API...");
|
||||||
const octokit = new octokit_1.Octokit({
|
const octokit = new octokit_1.Octokit({
|
||||||
auth: githubToken,
|
auth: githubToken,
|
||||||
});
|
});
|
||||||
|
@ -160,6 +160,7 @@ export async function resolveVersion(
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function getAvailableVersions(githubToken: string): Promise<string[]> {
|
async function getAvailableVersions(githubToken: string): Promise<string[]> {
|
||||||
|
core.info("Getting available versions from GitHub API...");
|
||||||
try {
|
try {
|
||||||
const octokit = new Octokit({
|
const octokit = new Octokit({
|
||||||
auth: githubToken,
|
auth: githubToken,
|
||||||
@ -194,7 +195,7 @@ async function getReleaseTagNames(
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function getLatestVersion(githubToken: string) {
|
async function getLatestVersion(githubToken: string) {
|
||||||
core.debug("Getting latest version...");
|
core.info("Getting latest version from GitHub API...");
|
||||||
const octokit = new Octokit({
|
const octokit = new Octokit({
|
||||||
auth: githubToken,
|
auth: githubToken,
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user