From 54146e3521c4024f9ef6be94c46e24dbb15395ab Mon Sep 17 00:00:00 2001 From: Nick Cipollo Date: Fri, 23 Aug 2019 11:32:54 -0400 Subject: [PATCH] Print token --- lib/main.js | 4 ++-- src/main.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/main.js b/lib/main.js index 19fb6a1..c79ceda 100644 --- a/lib/main.js +++ b/lib/main.js @@ -19,8 +19,8 @@ const core = __importStar(require("@actions/core")); function run() { return __awaiter(this, void 0, void 0, function* () { try { - const myInput = core.getInput('myInput'); - core.debug(`Hello ${myInput}`); + const myInput = core.getInput('token'); + core.debug(`Token ${myInput}`); } catch (error) { core.setFailed(error.message); diff --git a/src/main.ts b/src/main.ts index fae8b12..16599bd 100644 --- a/src/main.ts +++ b/src/main.ts @@ -2,8 +2,8 @@ import * as core from '@actions/core'; async function run() { try { - const myInput = core.getInput('myInput'); - core.debug(`Hello ${myInput}`); + const myInput = core.getInput('token'); + core.debug(`Token ${myInput}`); } catch (error) { core.setFailed(error.message); }