5
0
mirror of https://github.com/astral-sh/setup-uv.git synced 2025-12-19 11:04:08 +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

@@ -25,6 +25,7 @@ import {
toolDir,
version as versionInput,
workingDirectory,
serverUrl,
} from "./utils/inputs";
import * as exec from "@actions/exec";
import fs from "node:fs";
@@ -95,6 +96,7 @@ async function setupUv(
}
const downloadVersionResult = await downloadVersion(
serverUrl,
platform,
arch,
resolvedVersion,