Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 904b439

Browse files
committed
Set output
1 parent 1e169ae commit 904b439

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

dist/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9192,7 +9192,8 @@ async function main() {
91929192
default:
91939193
throw new Error('"result-encoding" must be either "string" or "json"');
91949194
}
9195-
// core.setOutput('result', output)
9195+
console.log('setting output', output);
9196+
Object(core.setOutput)('result', output);
91969197
}
91979198
function handleError(err) {
91989199
console.error(err);

src/main.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ async function main() {
3939
throw new Error('"result-encoding" must be either "string" or "json"')
4040
}
4141

42-
// core.setOutput('result', output)
42+
console.log('setting output', output)
43+
44+
core.setOutput('result', output)
4345
}
4446

4547
function handleError(err: any) {

0 commit comments

Comments
 (0)