MCPcopy
hub / github.com/actions/cache / getInputName

Function getInputName

src/utils/testUtils.ts:4–6  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

2
3// See: https://github.com/actions/toolkit/blob/master/packages/core/src/core.ts#L67
4function getInputName(name: string): string {
5 return `INPUT_${name.replace(/ /g, "_").toUpperCase()}`;
6}
7
8export function setInput(name: string, value: string): void {
9 process.env[getInputName(name)] = value;

Callers 2

setInputFunction · 0.85
clearInputsFunction · 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…