mirror of
https://github.com/actions/setup-python.git
synced 2025-08-11 11:02:08 +00:00
format update
This commit is contained in:
parent
2e54943954
commit
4c7c4b45a8
3
dist/setup/index.js
vendored
3
dist/setup/index.js
vendored
@ -96171,7 +96171,8 @@ 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') {
|
||||
|
@ -160,7 +160,10 @@ export async function useCpythonVersion(
|
||||
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') {
|
||||
versionSuffix += '-arm64';
|
||||
|
Loading…
x
Reference in New Issue
Block a user