Skip to content

Commit 6da0ea7

Browse files
committed
fix(outputs): add debug log
1 parent bc31c50 commit 6da0ea7

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

lib/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9675,7 +9675,8 @@ function parseBool(value) {
96759675
}
96769676
exports.parseBool = parseBool;
96779677
function setOutput(name, value) {
9678-
core.setOutput(name, value);
9678+
core.debug(`Setting output: ${name}=${value}`);
9679+
return core.setOutput(name, value);
96799680
}
96809681
exports.setOutput = setOutput;
96819682
for (const key in exports.outputs)

src/util.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ export function parseBool(value: any) {
3737
}
3838

3939
export function setOutput(name: Output, value: 'true' | 'false') {
40-
core.setOutput(name, value)
40+
core.debug(`Setting output: ${name}=${value}`)
41+
return core.setOutput(name, value)
4142
}
4243
for (const key in outputs) setOutput(key as Output, outputs[key])

0 commit comments

Comments
 (0)