Skip to content

Repository script API / engine-comparison-chart / uploadBenchmarkChart

Function: uploadBenchmarkChart() ​

uploadBenchmarkChart(input, __namedParameters?): Promise<string>

Defined in: engine-comparison-chart.mjs:8

Uploads the generated SVG to GitHub and writes its attachment URL as a workflow output.

Parameters ​

input ​

any

__namedParameters? ​

fetchImpl? ​

{(input, init?): Promise<Response>; (input, init?): Promise<Response>; } = fetch

readFile? ​

{<T>(path, options): BufferView<T>; (path, options?): NonSharedBuffer; (path, options): string; (path, options): string | NonSharedBuffer; } = fs.readFileSync

writeOutput? ​

(name, value) => void = writeGitHubOutput

Returns ​

Promise<string>

pumpkin-plugins documentation