mirror of
https://github.com/astral-sh/setup-uv.git
synced 2026-02-08 02:27:26 +00:00
Build dist files
This commit is contained in:
parent
08df9dc1e9
commit
08163e08e0
2 changed files with 4 additions and 4 deletions
4
dist/save-cache/index.js
generated
vendored
4
dist/save-cache/index.js
generated
vendored
|
|
@ -91129,13 +91129,13 @@ async function getUvPythonDir() {
|
|||
core.info(`Using UV_PYTHON_INSTALL_DIR from environment: ${process.env.UV_PYTHON_INSTALL_DIR}`);
|
||||
return process.env.UV_PYTHON_INSTALL_DIR;
|
||||
}
|
||||
core.info("Determining UV_PYTHON_INSTALL_DIR using `uv python dir`...");
|
||||
core.info("Determining uv python dir using `uv python dir`...");
|
||||
const result = await exec.getExecOutput("uv", ["python", "dir"]);
|
||||
if (result.exitCode !== 0) {
|
||||
throw new Error(`Failed to get uv python dir: ${result.stderr || result.stdout}`);
|
||||
}
|
||||
const dir = result.stdout.trim();
|
||||
core.info(`Determined UV_PYTHON_INSTALL_DIR: ${dir}`);
|
||||
core.info(`Determined uv python dir: ${dir}`);
|
||||
return dir;
|
||||
}
|
||||
function getCacheDependencyGlob() {
|
||||
|
|
|
|||
4
dist/setup/index.js
generated
vendored
4
dist/setup/index.js
generated
vendored
|
|
@ -129831,13 +129831,13 @@ async function getUvPythonDir() {
|
|||
core.info(`Using UV_PYTHON_INSTALL_DIR from environment: ${process.env.UV_PYTHON_INSTALL_DIR}`);
|
||||
return process.env.UV_PYTHON_INSTALL_DIR;
|
||||
}
|
||||
core.info("Determining UV_PYTHON_INSTALL_DIR using `uv python dir`...");
|
||||
core.info("Determining uv python dir using `uv python dir`...");
|
||||
const result = await exec.getExecOutput("uv", ["python", "dir"]);
|
||||
if (result.exitCode !== 0) {
|
||||
throw new Error(`Failed to get uv python dir: ${result.stderr || result.stdout}`);
|
||||
}
|
||||
const dir = result.stdout.trim();
|
||||
core.info(`Determined UV_PYTHON_INSTALL_DIR: ${dir}`);
|
||||
core.info(`Determined uv python dir: ${dir}`);
|
||||
return dir;
|
||||
}
|
||||
function getCacheDependencyGlob() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue