5
0
mirror of https://github.com/astral-sh/setup-uv.git synced 2025-12-25 11:04:24 +00:00

feat: support custom github url (#414)

Fix #344
This commit is contained in:
Zoupers Zou
2025-05-21 01:36:07 +08:00
committed by GitHub
parent 71bb8825e4
commit 0e0f4bfefa
6 changed files with 26 additions and 6 deletions

View File

@@ -17,6 +17,7 @@ export const ignoreEmptyWorkdir =
core.getInput("ignore-empty-workdir") === "true";
export const toolBinDir = getToolBinDir();
export const toolDir = getToolDir();
export const serverUrl = getServerUrl();
export const githubToken = core.getInput("github-token");
function getEnableCache(): boolean {
@@ -84,3 +85,7 @@ function expandTilde(input: string): string {
}
return input;
}
function getServerUrl(): string {
return core.getInput("server-url");
}