Skip to content

Commit 2ef6996

Browse files
committed
fix: double-set outputs to avoid issues
`actions-toolkit` should do that already, but I feel like this is hte easiest way to fix the issue. Ref #189
1 parent 88f3f3e commit 2ef6996

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

lib/index.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/util.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,5 @@ export function readJSON(filePath: string) {
117117
export function setOutput(name: Output, value: 'true' | 'false') {
118118
core.debug(`Setting output: ${name}=${value}`)
119119
tools.outputs[name] = value
120+
core.setOutput(name, value)
120121
}

0 commit comments

Comments
 (0)