mirror of
https://github.com/actions/setup-python.git
synced 2025-06-29 06:03:49 +00:00
logic update
This commit is contained in:
parent
4260a613f9
commit
1df3e3315a
3 changed files with 6 additions and 11 deletions
|
@ -175,7 +175,9 @@ export async function useCpythonVersion(
|
|||
core.addPath(pythonPath);
|
||||
} else {
|
||||
// Handle Python < 3.10
|
||||
const baseName = `Python${major}${minor}`;
|
||||
const isFreeThreaded = core.getBooleanInput('freethreaded');
|
||||
const suffix = isFreeThreaded ? 't' : '';
|
||||
const baseName = `Python${major}${minor}${suffix}`;
|
||||
|
||||
const pythonPath = path.join(
|
||||
process.env['APPDATA'] || '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue