mirror of
https://github.com/actions/setup-python.git
synced 2025-04-24 15:32:13 +00:00
Regenerate the dist folder
This commit is contained in:
parent
c09af9d29f
commit
a8c419bcab
1 changed files with 5 additions and 3 deletions
8
dist/setup/index.js
vendored
8
dist/setup/index.js
vendored
|
@ -66379,7 +66379,9 @@ function useCpythonVersion(version, architecture, updateEnvironment, checkLatest
|
||||||
if (!installDir) {
|
if (!installDir) {
|
||||||
const osInfo = yield utils_1.getOSInfo();
|
const osInfo = yield utils_1.getOSInfo();
|
||||||
throw new Error([
|
throw new Error([
|
||||||
`The version '${version}' with architecture '${architecture}' was not found for ${osInfo ? `${osInfo.osName} ${osInfo.osVersion}` : 'this operating system'}.`,
|
`The version '${version}' with architecture '${architecture}' was not found for ${osInfo
|
||||||
|
? `${osInfo.osName} ${osInfo.osVersion}`
|
||||||
|
: 'this operating system'}.`,
|
||||||
`The list of all available versions can be found here: ${installer.MANIFEST_URL}`
|
`The list of all available versions can be found here: ${installer.MANIFEST_URL}`
|
||||||
].join(os.EOL));
|
].join(os.EOL));
|
||||||
}
|
}
|
||||||
|
@ -67054,7 +67056,7 @@ function getWindowsInfo() {
|
||||||
silent: true
|
silent: true
|
||||||
});
|
});
|
||||||
const windowsVersion = stdout.trim().split(' ')[3];
|
const windowsVersion = stdout.trim().split(' ')[3];
|
||||||
return { osName: "Windows", osVersion: windowsVersion };
|
return { osName: 'Windows', osVersion: windowsVersion };
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
function getMacOSInfo() {
|
function getMacOSInfo() {
|
||||||
|
@ -67063,7 +67065,7 @@ function getMacOSInfo() {
|
||||||
silent: true
|
silent: true
|
||||||
});
|
});
|
||||||
const macOSVersion = stdout.trim();
|
const macOSVersion = stdout.trim();
|
||||||
return { osName: "macOS", osVersion: macOSVersion };
|
return { osName: 'macOS', osVersion: macOSVersion };
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
function getLinuxInfo() {
|
function getLinuxInfo() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue