mirror of
https://github.com/actions/setup-python.git
synced 2024-11-28 20:05:21 +01:00
Update terminology in comments
This commit is contained in:
parent
3d8ac1d401
commit
11c9de6408
1 changed files with 2 additions and 2 deletions
|
@ -57,7 +57,7 @@ function usePyPy(majorVersion: 2 | 3, architecture: string): void {
|
|||
|
||||
if (!installDir && IS_WINDOWS) {
|
||||
// PyPy only precompiles binaries for x86, but the architecture parameter defaults to x64.
|
||||
// On Hosted VS2017, we only install an x86 version.
|
||||
// On our Windows virtual environments, we only install an x86 version.
|
||||
// Fall back to x86.
|
||||
installDir = findPyPy('x86');
|
||||
}
|
||||
|
@ -120,7 +120,7 @@ async function useCpythonVersion(
|
|||
|
||||
if (IS_WINDOWS) {
|
||||
// Add --user directory
|
||||
// `installDir` from tool cache should look like $AGENT_TOOLSDIRECTORY/Python/<semantic version>/x64/
|
||||
// `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python/<semantic version>/x64/
|
||||
// So if `findLocalTool` succeeded above, we must have a conformant `installDir`
|
||||
const version = path.basename(path.dirname(installDir));
|
||||
const major = semver.major(version);
|
||||
|
|
Loading…
Reference in a new issue