mirror of
https://code.forgejo.org/actions/setup-python
synced 2025-06-08 20:38:19 +02:00
code update for freethreaded
This commit is contained in:
parent
404bd3b57d
commit
0b865b97c9
2 changed files with 6 additions and 0 deletions
3
dist/setup/index.js
vendored
3
dist/setup/index.js
vendored
|
@ -96897,6 +96897,9 @@ function useCpythonVersion(version, architecture, updateEnvironment, checkLatest
|
|||
// Append 't' for freethreaded builds
|
||||
if (freethreaded) {
|
||||
versionSuffix += 't';
|
||||
if (architecture === 'x86-freethreaded') {
|
||||
versionSuffix += '-32';
|
||||
}
|
||||
}
|
||||
// Add user Scripts path
|
||||
const userScriptsDir = path.join(basePath, 'Python', `Python${versionSuffix}`, 'Scripts');
|
||||
|
|
|
@ -168,6 +168,9 @@ export async function useCpythonVersion(
|
|||
// Append 't' for freethreaded builds
|
||||
if (freethreaded) {
|
||||
versionSuffix += 't';
|
||||
if (architecture === 'x86-freethreaded') {
|
||||
versionSuffix += '-32';
|
||||
}
|
||||
}
|
||||
// Add user Scripts path
|
||||
const userScriptsDir = path.join(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue