From 8f1f09d543282eb63ff4659a4e1aeb146bdade69 Mon Sep 17 00:00:00 2001 From: Sam Gross Date: Mon, 10 Feb 2025 17:20:39 +0000 Subject: [PATCH] Use distinct cache key for free threaded Python --- dist/setup/index.js | 2 +- src/find-python.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/setup/index.js b/dist/setup/index.js index b06b72ea..41a7f5d7 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -91125,7 +91125,7 @@ function useCpythonVersion(version, architecture, updateEnvironment, checkLatest } core.setOutput('python-version', pythonVersion); core.setOutput('python-path', pythonPath); - return { impl: 'CPython', version: installed }; + return { impl: 'CPython', version: pythonVersion }; }); } exports.useCpythonVersion = useCpythonVersion; diff --git a/src/find-python.ts b/src/find-python.ts index 1cf47fa4..4852cad0 100644 --- a/src/find-python.ts +++ b/src/find-python.ts @@ -173,7 +173,7 @@ export async function useCpythonVersion( core.setOutput('python-version', pythonVersion); core.setOutput('python-path', pythonPath); - return {impl: 'CPython', version: installed}; + return {impl: 'CPython', version: pythonVersion}; } /* Desugar free threaded and dev versions */