mirror of
https://github.com/actions/setup-python.git
synced 2025-02-13 03:50:26 -05:00
npm run format-check
This commit is contained in:
parent
c002fb52fe
commit
efb63d1885
1 changed files with 8 additions and 7 deletions
|
@ -140,7 +140,6 @@ export async function useCpythonVersion(
|
|||
const minor = semver.minor(version);
|
||||
|
||||
if (major >= 3 && (major > 3 || minor >= 10)) {
|
||||
|
||||
const arch = architecture === 'x64' ? '64' : '32';
|
||||
|
||||
const userScriptsDir = path.join(
|
||||
|
@ -152,7 +151,9 @@ export async function useCpythonVersion(
|
|||
|
||||
// Add the dynamically constructed path to the environment PATH variable
|
||||
core.addPath(userScriptsDir);
|
||||
core.debug(`Updated PATH with architecture-specific path: ${userScriptsDir}`);
|
||||
core.debug(
|
||||
`Updated PATH with architecture-specific path: ${userScriptsDir}`
|
||||
);
|
||||
} else {
|
||||
// For Python < 3.10, add the default path without architecture-specific folder as per the official installer path
|
||||
const userScriptsDir = path.join(
|
||||
|
|
Loading…
Add table
Reference in a new issue