mirror of
https://code.forgejo.org/actions/setup-python
synced 2025-06-10 13:22:20 +02:00
format update
This commit is contained in:
parent
7469b5436f
commit
2e54943954
3 changed files with 45 additions and 6 deletions
3
dist/setup/index.js
vendored
3
dist/setup/index.js
vendored
|
@ -96171,8 +96171,7 @@ function useCpythonVersion(version, architecture, updateEnvironment, checkLatest
|
|||
const basePath = process.env['APPDATA'] || '';
|
||||
let versionSuffix = `${major}${minor}`;
|
||||
// Append '-32' for x86 architecture if Python version is >= 3.10
|
||||
if (architecture === 'x86' &&
|
||||
(major > 3 || (major === 3 && minor >= 10))) {
|
||||
if (architecture === 'x86' && (major > 3 || (major === 3 && minor >= 10))) {
|
||||
versionSuffix += '-32';
|
||||
}
|
||||
else if (architecture === 'arm64') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue