MCPcopy Create free account
hub / github.com/actions/toolkit / addPath

Function addPath

packages/core/src/core.ts:42–45  ·  view source on GitHub ↗
(inputPath: string)

Source from the content-addressed store, hash-verified

40 * @param inputPath
41 */
42export function addPath(inputPath: string): void {
43 issueCommand('add-path', {}, inputPath)
44 process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`
45}
46
47/**
48 * Gets the value of an input. The value is also trimmed.

Callers

nothing calls this directly

Calls 1

issueCommandFunction · 0.90

Tested by

no test coverage detected