Use distinct cache key for free threaded Python

This commit is contained in:
Sam Gross 2025-02-10 17:20:39 +00:00
parent 1ec1b0d2bd
commit 8f1f09d543
2 changed files with 2 additions and 2 deletions

2
dist/setup/index.js vendored
View File

@ -91125,7 +91125,7 @@ function useCpythonVersion(version, architecture, updateEnvironment, checkLatest
} }
core.setOutput('python-version', pythonVersion); core.setOutput('python-version', pythonVersion);
core.setOutput('python-path', pythonPath); core.setOutput('python-path', pythonPath);
return { impl: 'CPython', version: installed }; return { impl: 'CPython', version: pythonVersion };
}); });
} }
exports.useCpythonVersion = useCpythonVersion; exports.useCpythonVersion = useCpythonVersion;

View File

@ -173,7 +173,7 @@ export async function useCpythonVersion(
core.setOutput('python-version', pythonVersion); core.setOutput('python-version', pythonVersion);
core.setOutput('python-path', pythonPath); core.setOutput('python-path', pythonPath);
return {impl: 'CPython', version: installed}; return {impl: 'CPython', version: pythonVersion};
} }
/* Desugar free threaded and dev versions */ /* Desugar free threaded and dev versions */