(outputs)
| 174 | } |
| 175 | |
| 176 | function writeOutputs(outputs) { |
| 177 | const outputFile = process.env.GITHUB_OUTPUT |
| 178 | if (!outputFile) { |
| 179 | return |
| 180 | } |
| 181 | |
| 182 | appendFileSync( |
| 183 | outputFile, |
| 184 | Object.entries(outputs) |
| 185 | .map(([key, value]) => `${key}=${value}`) |
| 186 | .join(`\n`) + `\n` |
| 187 | ) |
| 188 | } |
| 189 | |
| 190 | function run(command, args) { |
| 191 | return execFileSync(command, args, { |
no test coverage detected