From 658d90b402bcd1155816ad8364ba2595f9b62e57 Mon Sep 17 00:00:00 2001
From: mahabaleshwars <147705296+mahabaleshwars@users.noreply.github.com>
Date: Tue, 24 Sep 2024 15:19:18 +0530
Subject: [PATCH] testing for getting from url

---
 dist/setup/index.js   | 6 +++---
 src/install-python.ts | 8 +++-----
 2 files changed, 6 insertions(+), 8 deletions(-)

diff --git a/dist/setup/index.js b/dist/setup/index.js
index 8afafd18..d3ff39f9 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 20767567..95d66cd7 100644
--- a/src/install-python.ts
+++ b/src/install-python.ts
@@ -35,13 +35,11 @@ export async function findReleaseFromManifest(
 
 export async function getManifest(): Promise<tc.IToolRelease[]> {
   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;