mirror of
https://github.com/actions/setup-python.git
synced 2025-04-19 19:33:29 +00:00
Update index.js file
This commit is contained in:
parent
9aa437bb40
commit
dc9da98c5a
2
dist/index.js
vendored
2
dist/index.js
vendored
@ -3710,7 +3710,7 @@ function useCpythonVersion(version, architecture) {
|
||||
core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);
|
||||
let installDir = tc.find('Python', semanticVersionSpec, architecture);
|
||||
if (!installDir) {
|
||||
core.info(`Version ${semanticVersionSpec} is not found in local cache`);
|
||||
core.info(`Version ${semanticVersionSpec} was not found in the local cache`);
|
||||
const foundRelease = yield installer.findReleaseFromManifest(semanticVersionSpec, architecture);
|
||||
if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {
|
||||
core.info(`Version ${semanticVersionSpec} is available for downloading`);
|
||||
|
@ -83,7 +83,9 @@ async function useCpythonVersion(
|
||||
architecture
|
||||
);
|
||||
if (!installDir) {
|
||||
core.info(`Version ${semanticVersionSpec} was not found in the local cache`);
|
||||
core.info(
|
||||
`Version ${semanticVersionSpec} was not found in the local cache`
|
||||
);
|
||||
const foundRelease = await installer.findReleaseFromManifest(
|
||||
semanticVersionSpec,
|
||||
architecture
|
||||
|
Loading…
Reference in New Issue
Block a user