(key: string, value)
| 29 | } |
| 30 | |
| 31 | function setOutput(key: string, value) { |
| 32 | if (process.env.GITHUB_OUTPUT) { |
| 33 | appendFileSync(process.env.GITHUB_OUTPUT, githubOutputRecord(key, value)) |
| 34 | } else { |
| 35 | process.stdout.write(githubOutputRecord(key, value)) |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | function setPathOutput(path: string, key: string, value) { |
| 40 | setOutput(path === '.' ? key : `${path}--${key}`, value) |
no test coverage detected