(outputs)
| 220 | } |
| 221 | |
| 222 | function writeOutputs(outputs) { |
| 223 | const outputFile = process.env.GITHUB_OUTPUT |
| 224 | if (!outputFile) { |
| 225 | return |
| 226 | } |
| 227 | |
| 228 | appendFileSync( |
| 229 | outputFile, |
| 230 | Object.entries(outputs) |
| 231 | .map(([key, value]) => `${key}=${value}`) |
| 232 | .join(`\n`) + `\n` |
| 233 | ) |
| 234 | } |
| 235 | |
| 236 | function run(command, args) { |
| 237 | return execFileSync(command, args, { |
no test coverage detected