8000 Set output · ActionsDesk/github-script@904b439 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

8000
Appearance settings
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

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)
0