From 4c4f1c6919aedd559b0dd84259f4f6d1ac9d0350 Mon Sep 17 00:00:00 2001 From: Dmitry Shibanov Date: Tue, 23 Jun 2020 11:56:34 +0300 Subject: [PATCH] add debug line --- dist/index.js | 1 + src/main.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/dist/index.js b/dist/index.js index 8e3ff4b5f..fe5488eca 100644 --- a/dist/index.js +++ b/dist/index.js @@ -2528,6 +2528,7 @@ function run() { let token = core.getInput('token'); let auth = !token || isGhes() ? undefined : `token ${token}`; const installDir = yield installer.getGo(versionSpec, stable, auth); + console.log(`installDir is ${installDir}`); core.exportVariable('GOROOT', installDir); core.addPath(path_1.default.join(installDir, 'bin')); console.log('Added go to the path'); diff --git a/src/main.ts b/src/main.ts index 662e550b1..bf610342d 100644 --- a/src/main.ts +++ b/src/main.ts @@ -29,6 +29,7 @@ export async function run() { const installDir = await installer.getGo(versionSpec, stable, auth); + console.log(`installDir is ${installDir}`) core.exportVariable('GOROOT', installDir); core.addPath(path.join(installDir, 'bin')); console.log('Added go to the path');