From 01bdbbf7b0662b353f46a7d1317b8e2f2921ce20 Mon Sep 17 00:00:00 2001 From: Priya Gupta <147705955+priyagupta108@users.noreply.github.com> Date: Thu, 26 Dec 2024 14:00:21 +0530 Subject: [PATCH] Update installer.ts --- src/installer.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/installer.ts b/src/installer.ts index f3fce56..449bd6d 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -264,8 +264,14 @@ export class DotnetCoreInstaller { ): Promise { let response; try { + core.info( + `${DotNetCoreIndexUrl} DotNetCoreIndexUrl` + ); response = await httpClient.getJson(DotNetCoreIndexUrl); } catch (error) { + core.info( + `${DotnetCoreIndexFallbackUrl} DotnetCoreIndexFallbackUrl` + ); response = await httpClient.getJson(DotnetCoreIndexFallbackUrl); } const result = response.result || {};