fix(outputs): fix outputs not displaying in logs

This commit is contained in:
Federico Grandi
2020-12-12 16:36:50 +01:00
parent 524f96d401
commit 655a68b116
2 changed files with 2 additions and 1 deletions

View File

@@ -38,6 +38,7 @@ export function parseBool(value: any) {
export function setOutput(name: Output, value: 'true' | 'false') {
core.debug(`Setting output: ${name}=${value}`)
outputs[name] = value
return core.setOutput(name, value)
}
for (const key in outputs) setOutput(key as Output, outputs[key])