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:
Federico Grandi
2021-05-11 19:28:17 +02:00
parent 88f3f3edfc
commit 2ef699642a
2 changed files with 5 additions and 4 deletions

8
lib/index.js generated

File diff suppressed because one or more lines are too long

View File

@@ -117,4 +117,5 @@ export function readJSON(filePath: string) {
export function setOutput(name: Output, value: 'true' | 'false') {
core.debug(`Setting output: ${name}=${value}`)
tools.outputs[name] = value
core.setOutput(name, value)
}