diff --git a/dist/setup/index.js b/dist/setup/index.js index 8afafd1..d3ff39f 100644 --- a/dist/setup/index.js +++ b/dist/setup/index.js @@ -91648,11 +91648,11 @@ exports.findReleaseFromManifest = findReleaseFromManifest; function getManifest() { return __awaiter(this, void 0, void 0, function* () { try { - const manifestFromRepo = yield getManifestFromRepo(); + // const manifestFromRepo = await getManifestFromRepo(); + const manifestFromRepo = null; core.info('Successfully fetched the manifest from the repo.'); core.info(`Manifest from repo: ${JSON.stringify(manifestFromRepo)}`); - if (!Array.isArray(manifestFromRepo) || - !manifestFromRepo.every(isValidManifestEntry)) { + if (!Array.isArray(manifestFromRepo)) { throw new Error('Invalid response'); } return manifestFromRepo; diff --git a/src/install-python.ts b/src/install-python.ts index 2076756..95d66cd 100644 --- a/src/install-python.ts +++ b/src/install-python.ts @@ -35,13 +35,11 @@ export async function findReleaseFromManifest( export async function getManifest(): Promise { try { - const manifestFromRepo = await getManifestFromRepo(); + // const manifestFromRepo = await getManifestFromRepo(); + const manifestFromRepo = null; core.info('Successfully fetched the manifest from the repo.'); core.info(`Manifest from repo: ${JSON.stringify(manifestFromRepo)}`); - if ( - !Array.isArray(manifestFromRepo) || - !manifestFromRepo.every(isValidManifestEntry) - ) { + if (!Array.isArray(manifestFromRepo)) { throw new Error('Invalid response'); } return manifestFromRepo;