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
This commit is contained in:
8
lib/index.js
generated
8
lib/index.js
generated
File diff suppressed because one or more lines are too long
@@ -117,4 +117,5 @@ export function readJSON(filePath: string) {
|
|||||||
export function setOutput(name: Output, value: 'true' | 'false') {
|
export function setOutput(name: Output, value: 'true' | 'false') {
|
||||||
core.debug(`Setting output: ${name}=${value}`)
|
core.debug(`Setting output: ${name}=${value}`)
|
||||||
tools.outputs[name] = value
|
tools.outputs[name] = value
|
||||||
|
core.setOutput(name, value)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user