From 904b439f45b0bef465265dabef3aa2f3a2e10fb3 Mon Sep 17 00:00:00 2001 From: Jonathan Clem Date: Fri, 28 Feb 2020 09:07:52 -0500 Subject: [PATCH] Set output --- dist/index.js | 3 ++- src/main.ts | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 09586dd..2719b53 100644 --- a/dist/index.js +++ b/dist/index.js @@ -9192,7 +9192,8 @@ async function main() { default: throw new Error('"result-encoding" must be either "string" or "json"'); } - // core.setOutput('result', output) + console.log('setting output', output); + Object(core.setOutput)('result', output); } function handleError(err) { console.error(err); diff --git a/src/main.ts b/src/main.ts index 20aab81..f5b752e 100644 --- a/src/main.ts +++ b/src/main.ts @@ -39,7 +39,9 @@ async function main() { throw new Error('"result-encoding" must be either "string" or "json"') } - // core.setOutput('result', output) + console.log('setting output', output) + + core.setOutput('result', output) } function handleError(err: any) {