MCPcopy Create free account
hub / github.com/dmno-dev/bumpy / writeGitHubOutput

Function writeGitHubOutput

packages/bumpy/src/commands/ci.ts:523–529  ·  view source on GitHub ↗

Write a key=value pair to $GITHUB_OUTPUT if available

(key: string, value: string)

Source from the content-addressed store, hash-verified

521
522/** Write a key=value pair to $GITHUB_OUTPUT if available */
523function writeGitHubOutput(key: string, value: string): void {
524 const outputFile = process.env.GITHUB_OUTPUT;
525 if (!outputFile) return;
526 // Use delimiter protocol for multiline values
527 const delimiter = `ghadelimiter_${Date.now()}`;
528 appendFileSync(outputFile, `${key}<<${delimiter}\n${value}\n${delimiter}\n`);
529}
530
531// ---- ci release ----
532

Callers 2

ciPlanCommandFunction · 0.85
ciChannelPlanFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…