Set output

This commit is contained in:
Jonathan Clem
2020-02-28 09:07:52 -05:00
parent 1e169ae445
commit 904b439f45
2 changed files with 5 additions and 2 deletions

3
dist/index.js vendored
View File

@@ -9192,7 +9192,8 @@ async function main() {
default: default:
throw new Error('"result-encoding" must be either "string" or "json"'); 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) { function handleError(err) {
console.error(err); console.error(err);

View File

@@ -39,7 +39,9 @@ async function main() {
throw new Error('"result-encoding" must be either "string" or "json"') 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) { function handleError(err: any) {