Skip to content

Commit d7cbb51

Browse files
Apparently outputs must be strings...
1 parent 8656531 commit d7cbb51

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ You can use the built-in ${{ secrets.GITHUB_TOKEN }} variable for this.
1616
## Outputs
1717

1818
### `issues`
19-
The output of this is an Array of numbers, corresponding to the issue numbers that were closed via commits.
19+
The output of this is a JSON Array of numbers, corresponding to the issue numbers that were closed via commits.
2020

2121
## Example usages
2222

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ async function run() {
4646
}
4747
}
4848

49-
core.setOutput("issues", issues);
49+
core.setOutput("issues", JSON.stringify(issues));
5050
}
5151

5252
try {

0 commit comments

Comments
 (0)